xrootd
Public Member Functions | Private Attributes | List of all members
XrdCl::FinalizeHandler Class Reference

#include <XrdClOperationHandlers.hh>

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

Public Member Functions

 FinalizeHandler (ResponseHandler *handler)
 
virtual ~FinalizeHandler ()
 Destructor. More...
 
virtual void HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList)
 
- Public Member Functions inherited from XrdCl::ResponseHandler
virtual ~ResponseHandler ()
 
virtual void HandleResponse (XRootDStatus *status, AnyObject *response)
 

Private Attributes

std::atomic< ResponseHandler * > handler
 The actual operation handler. More...
 

Detailed Description

Wrapper class for Pipeline ResponseHandlers.

Makes sure that in case the pipeline has failed before the actual handler could be called

Constructor & Destructor Documentation

◆ FinalizeHandler()

XrdCl::FinalizeHandler::FinalizeHandler ( ResponseHandler handler)
inline

Constructor

Parameters
handler: the actual operation handler

◆ ~FinalizeHandler()

virtual XrdCl::FinalizeHandler::~FinalizeHandler ( )
inlinevirtual

Member Function Documentation

◆ HandleResponseWithHosts()

virtual void XrdCl::FinalizeHandler::HandleResponseWithHosts ( XRootDStatus status,
AnyObject response,
HostList hostList 
)
inlinevirtual

Callback method (

See also
ResponseHandler)

Note: does not delete itself because it is assumed that it is owned by the PipelineHandler (

See also
PipelineHandler)

Reimplemented from XrdCl::ResponseHandler.

References handler, and XrdCl::ResponseHandler::HandleResponseWithHosts().

Member Data Documentation

◆ handler

std::atomic<ResponseHandler*> XrdCl::FinalizeHandler::handler
private

The actual operation handler.

Referenced by HandleResponseWithHosts(), and ~FinalizeHandler().


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