12 #ifndef ROOT_TXNetFileStager 13 #define ROOT_TXNetFileStager 23 #ifndef ROOT_TFileStager Int_t Locate(const char *path, TString &endpath)
Get actual end-point url for a path Returns 0 in case of success and 1 if any error occured...
void Print(Option_t *option="") const
Print basic info about this stager.
static struct mg_connection * fc(struct mg_context *ctx)
#define ClassDef(name, id)
Bool_t Matches(const char *s)
Returns kTRUE if stager 's' is compatible with current stager.
Collection abstract base class.
virtual ~TXNetFileStager()
Destructor.
Bool_t IsStaged(const char *path)
Check if the file defined by 'path' is ready to be used.
Bool_t Stage(const char *path, Option_t *opt=0)
Issue a stage request for file defined by 'path'.
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl=kFALSE)
Bulk locate request for a collection of files.
TXNetFileStager(const char *stager="")
Constructor. Init a TXNetSystem instance to the XRD system.
static void GetPrefix(const char *url, TString &pfx)
Isolate prefix in url.