xrootd
XrdClLocalFileTask.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Copyright (c) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
3 // Author: Paul-Niklas Kramp <p.n.kramp@gsi.de>
4 //------------------------------------------------------------------------------
5 // XRootD is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // XRootD is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with XRootD. If not, see <http://www.gnu.org/licenses/>.
17 //------------------------------------------------------------------------------
18 #ifndef __XRD_CL_LOCAL_FILE_TASK_HH__
19 #define __XRD_CL_LOCAL_FILE_TASK_HH__
20 
21 #include "XrdCl/XrdClStatus.hh"
22 #include "XrdCl/XrdClAnyObject.hh"
23 #include "XrdCl/XrdClJobManager.hh"
25 
26 namespace XrdCl{
27  class LocalFileTask : public Job{
28 
29  public:
32  virtual void Run( void *arg );
33 
34  private:
39  };
40 }
41 
42 #endif
Definition: XrdClAnyObject.hh:32
XRootDStatus * st
Definition: XrdClLocalFileTask.hh:35
HostList * hosts
Definition: XrdClLocalFileTask.hh:37
AnyObject * obj
Definition: XrdClLocalFileTask.hh:36
virtual void Run(void *arg)
The job logic.
std::vector< HostInfo > HostList
Definition: XrdClXRootDResponses.hh:1035
Request status.
Definition: XrdClXRootDResponses.hh:218
Definition: XrdClAnyObject.hh:25
ResponseHandler * responsehandler
Definition: XrdClLocalFileTask.hh:38
Definition: XrdClLocalFileTask.hh:27
Handle an async response.
Definition: XrdClXRootDResponses.hh:1040
Interface for a job to be run by the job manager.
Definition: XrdClJobManager.hh:33
LocalFileTask(XRootDStatus *st, AnyObject *obj, HostList *hosts, ResponseHandler *responsehandler)