|
xrootd
|
Synchronize the response. More...
#include <XrdClMessageUtils.hh>


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 |
Synchronize the response.
| XrdCl::SyncResponseHandler::SyncResponseHandler | ( | ) | [inline] |
Constructor.
| virtual XrdCl::SyncResponseHandler::~SyncResponseHandler | ( | ) | [inline, virtual] |
Destructor.
References pSem.
| AnyObject* XrdCl::SyncResponseHandler::GetResponse | ( | ) | [inline] |
| XRootDStatus* XrdCl::SyncResponseHandler::GetStatus | ( | ) | [inline] |
Get the status.
References pStatus.
Referenced by XrdCl::MessageUtils::WaitForResponse(), and XrdCl::MessageUtils::WaitForStatus().
| 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.
| void XrdCl::SyncResponseHandler::WaitForResponse | ( | ) | [inline] |
Wait for the arrival of the response.
References pSem, and XrdSysSemaphore::Wait().
Referenced by XrdCl::MessageUtils::WaitForResponse(), and XrdCl::MessageUtils::WaitForStatus().
AnyObject* XrdCl::SyncResponseHandler::pResponse [private] |
Referenced by GetResponse(), and HandleResponse().
XrdSysSemaphore* XrdCl::SyncResponseHandler::pSem [private] |
Referenced by HandleResponse(), WaitForResponse(), and ~SyncResponseHandler().
XRootDStatus* XrdCl::SyncResponseHandler::pStatus [private] |
Referenced by GetStatus(), and HandleResponse().
1.7.6.1