XRootD
XrdCl::LocalFileTask Class Reference

#include <XrdClLocalFileTask.hh>

+ Inheritance diagram for XrdCl::LocalFileTask:
+ Collaboration diagram for XrdCl::LocalFileTask:

Public Member Functions

 LocalFileTask (XRootDStatus *st, AnyObject *obj, HostList *hosts, ResponseHandler *responsehandler)
 
 ~LocalFileTask ()
 
virtual void Run (void *arg)
 The job logic. More...
 
- Public Member Functions inherited from XrdCl::Job
virtual ~Job ()
 Virtual destructor. More...
 

Detailed Description

Definition at line 27 of file XrdClLocalFileTask.hh.

Constructor & Destructor Documentation

◆ LocalFileTask()

XrdCl::LocalFileTask::LocalFileTask ( XRootDStatus st,
AnyObject obj,
HostList hosts,
ResponseHandler responsehandler 
)

Definition at line 22 of file XrdClLocalFileTask.cc.

23  {
24  this->st = st;
25  this->obj = obj;
26  this->hosts = hosts;
27  this->responsehandler = responsehandler;
28  }

◆ ~LocalFileTask()

XrdCl::LocalFileTask::~LocalFileTask ( )

Definition at line 30 of file XrdClLocalFileTask.cc.

30 {}

Member Function Documentation

◆ Run()

void XrdCl::LocalFileTask::Run ( void *  arg)
virtual

The job logic.

Implements XrdCl::Job.

Definition at line 32 of file XrdClLocalFileTask.cc.

33  {
34  if( responsehandler )
35  responsehandler->HandleResponseWithHosts( st, obj, hosts );
36  else{
37  delete st;
38  delete obj;
39  delete hosts;
40  }
41  delete this;
42  }
virtual void HandleResponseWithHosts(XRootDStatus *status, AnyObject *response, HostList *hostList)

References XrdCl::ResponseHandler::HandleResponseWithHosts().

+ Here is the call graph for this function:

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