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 Member Functions | |
| SyncResponseHandler (const SyncResponseHandler &other) | |
| SyncResponseHandler & | operator= (const SyncResponseHandler &other) |
Private Attributes | |
| XRootDStatus * | pStatus |
| AnyObject * | pResponse |
| XrdSysCondVar | pCondVar |
Synchronize the response.
| XrdCl::SyncResponseHandler::SyncResponseHandler | ( | ) | [inline] |
Constructor.
| virtual XrdCl::SyncResponseHandler::~SyncResponseHandler | ( | ) | [inline, virtual] |
Destructor.
| XrdCl::SyncResponseHandler::SyncResponseHandler | ( | const SyncResponseHandler & | other | ) | [private] |
| 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 XrdSysCondVar::Broadcast(), pCondVar, pResponse, and pStatus.
| SyncResponseHandler& XrdCl::SyncResponseHandler::operator= | ( | const SyncResponseHandler & | other | ) | [private] |
| void XrdCl::SyncResponseHandler::WaitForResponse | ( | ) | [inline] |
Wait for the arrival of the response.
References pCondVar, pStatus, and XrdSysCondVar::Wait().
Referenced by XrdCl::MessageUtils::WaitForResponse(), and XrdCl::MessageUtils::WaitForStatus().
Referenced by HandleResponse(), and WaitForResponse().
AnyObject* XrdCl::SyncResponseHandler::pResponse [private] |
Referenced by GetResponse(), and HandleResponse().
XRootDStatus* XrdCl::SyncResponseHandler::pStatus [private] |
Referenced by GetStatus(), HandleResponse(), and WaitForResponse().
1.6.1