xrootd
Public Member Functions | Private Attributes
XrdCl::SyncResponseHandler Class Reference

Synchronize the response. More...

#include <XrdClMessageUtils.hh>

Inheritance diagram for XrdCl::SyncResponseHandler:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::SyncResponseHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SyncResponseHandler ()
 Constructor.
virtual ~SyncResponseHandler ()
 Destructor.
virtual void HandleResponse (XRootDStatus *status, AnyObject *response)
 Handle the response.
XRootDStatus * GetStatus ()
 Get the status.
AnyObject * GetResponse ()
 Get the response.
void WaitForResponse ()
 Wait for the arrival of the response.

Private Attributes

XRootDStatus * pStatus
AnyObject * pResponse
XrdSysSemaphore * pSem

Detailed Description

Synchronize the response.


Constructor & Destructor Documentation

Constructor.

virtual XrdCl::SyncResponseHandler::~SyncResponseHandler ( ) [inline, virtual]

Destructor.

References pSem.


Member Function Documentation

Get the response.

References pResponse.

Referenced by XrdCl::MessageUtils::WaitForResponse().

virtual void XrdCl::SyncResponseHandler::HandleResponse ( XRootDStatus *  status,
AnyObject *  response 
) [inline, virtual]

Handle the response.

Reimplemented from XrdCl::ResponseHandler.

References XrdSysSemaphore::Post(), pResponse, pSem, and pStatus.

Wait for the arrival of the response.

References pSem, and XrdSysSemaphore::Wait().

Referenced by XrdCl::MessageUtils::WaitForResponse(), and XrdCl::MessageUtils::WaitForStatus().


Member Data Documentation

Referenced by GetResponse(), and HandleResponse().

Referenced by GetStatus(), and HandleResponse().


The documentation for this class was generated from the following file: