Loading...
Searching...
No Matches
XrdClLocalFileTask.hh
Go to the documentation of this file.
//------------------------------------------------------------------------------
// Copyright (c) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
// Author: Paul-Niklas Kramp <p.n.kramp@gsi.de>
//------------------------------------------------------------------------------
// XRootD is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// XRootD is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
//------------------------------------------------------------------------------
#ifndef __XRD_CL_LOCAL_FILE_TASK_HH__
#define __XRD_CL_LOCAL_FILE_TASK_HH__
#include "XrdCl/XrdClStatus.hh"
#include "XrdCl/XrdClAnyObject.hh"
#include "XrdCl/XrdClJobManager.hh"
#include "XrdCl/XrdClXRootDResponses.hh"
namespace XrdCl{
class LocalFileTask : public Job{
public:
LocalFileTask( XRootDStatus *st, AnyObject *obj, HostList *hosts, ResponseHandler *responsehandler );
~LocalFileTask();
virtual void Run( void *arg );
private:
XRootDStatus *st;
AnyObject *obj;
HostList *hosts;
ResponseHandler *responsehandler;
};
}
#endif
XrdClAnyObject.hh
XrdClJobManager.hh
XrdClStatus.hh
XrdClXRootDResponses.hh
XrdCl::AnyObject
Definition XrdClAnyObject.hh:33
XrdCl::Job
Interface for a job to be run by the job manager.
Definition XrdClJobManager.hh:34
XrdCl::LocalFileTask::~LocalFileTask
~LocalFileTask()
Definition XrdClLocalFileTask.cc:30
XrdCl::LocalFileTask::Run
virtual void Run(void *arg)
The job logic.
Definition XrdClLocalFileTask.cc:32
XrdCl::LocalFileTask::LocalFileTask
LocalFileTask(XRootDStatus *st, AnyObject *obj, HostList *hosts, ResponseHandler *responsehandler)
Definition XrdClLocalFileTask.cc:22
XrdCl::ResponseHandler
Handle an async response.
Definition XrdClXRootDResponses.hh:1127
XrdCl::XRootDStatus
Request status.
Definition XrdClXRootDResponses.hh:219
XrdCl
Definition XrdClAction.hh:34
XrdCl::HostList
std::vector< HostInfo > HostList
Definition XrdClXRootDResponses.hh:1121