xrootd
Public Member Functions | Private Attributes | List of all members
XrdCl::AsyncSocketHandler::WaitTask Class Reference
Inheritance diagram for XrdCl::AsyncSocketHandler::WaitTask:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::AsyncSocketHandler::WaitTask:
Collaboration graph
[legend]

Public Member Functions

 WaitTask (XrdCl::AsyncSocketHandler *handler)
 
virtual time_t Run (time_t now)
 
- Public Member Functions inherited from XrdCl::Task
virtual ~Task ()
 
const std::string & GetName () const
 Name of the task. More...
 
void SetName (const std::string &name)
 Set name of the task. More...
 

Private Attributes

XrdCl::AsyncSocketHandlerpHandler
 

Constructor & Destructor Documentation

◆ WaitTask()

XrdCl::AsyncSocketHandler::WaitTask::WaitTask ( XrdCl::AsyncSocketHandler handler)
inline

Member Function Documentation

◆ Run()

virtual time_t XrdCl::AsyncSocketHandler::WaitTask::Run ( time_t  now)
inlinevirtual

Perform the task

Parameters
nowcurrent timestamp
Returns
0 if the task is completed and should no longer be run or the time at which it should be run again

Implements XrdCl::Task.

References pHandler, and XrdCl::AsyncSocketHandler::SendHSMsg().

Member Data Documentation

◆ pHandler

XrdCl::AsyncSocketHandler* XrdCl::AsyncSocketHandler::WaitTask::pHandler
private

Referenced by Run().


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