00001 //------------------------------------------------------------------------------ 00002 // Copyright (c) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH 00003 // Author: Paul-Niklas Kramp <p.n.kramp@gsi.de> 00004 //------------------------------------------------------------------------------ 00005 // XRootD is free software: you can redistribute it and/or modify 00006 // it under the terms of the GNU Lesser General Public License as published by 00007 // the Free Software Foundation, either version 3 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // XRootD is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public License 00016 // along with XRootD. If not, see <http://www.gnu.org/licenses/>. 00017 //------------------------------------------------------------------------------ 00018 #ifndef __XRD_CL_LOCAL_FILE_TASK_HH__ 00019 #define __XRD_CL_LOCAL_FILE_TASK_HH__ 00020 00021 #include "XrdCl/XrdClStatus.hh" 00022 #include "XrdCl/XrdClAnyObject.hh" 00023 #include "XrdCl/XrdClJobManager.hh" 00024 #include "XrdCl/XrdClXRootDResponses.hh" 00025 00026 namespace XrdCl{ 00027 class LocalFileTask : public Job{ 00028 00029 public: 00030 LocalFileTask( XRootDStatus *st, AnyObject *obj, HostList *hosts, ResponseHandler *responsehandler ); 00031 ~LocalFileTask(); 00032 virtual void Run( void *arg ); 00033 00034 private: 00035 XRootDStatus *st; 00036 AnyObject *obj; 00037 HostList *hosts; 00038 ResponseHandler *responsehandler; 00039 }; 00040 } 00041 00042 #endif