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.
XRootDStatusGetStatus ()
 Get the status.
AnyObjectGetResponse ()
 Get the response.
void WaitForResponse ()
 Wait for the arrival of the response.

Private Member Functions

 SyncResponseHandler (const SyncResponseHandler &other)
SyncResponseHandleroperator= (const SyncResponseHandler &other)

Private Attributes

XRootDStatuspStatus
AnyObjectpResponse
XrdSysCondVar pCondVar

Detailed Description

Synchronize the response.


Constructor & Destructor Documentation

XrdCl::SyncResponseHandler::SyncResponseHandler (  )  [inline]

Constructor.

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

Destructor.

XrdCl::SyncResponseHandler::SyncResponseHandler ( const SyncResponseHandler other  )  [private]

Member Function Documentation

AnyObject* XrdCl::SyncResponseHandler::GetResponse (  )  [inline]

Get the response.

References pResponse.

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

XRootDStatus* XrdCl::SyncResponseHandler::GetStatus (  )  [inline]
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().


Member Data Documentation

Referenced by HandleResponse(), and WaitForResponse().

Referenced by GetResponse(), and HandleResponse().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 4 Sep 2020 for xrootd by  doxygen 1.6.1