63 if(cli!=NULL)
delete cli;
70 printf(
"[datastream::xrootd] >>> open : %s\n" + filename);
71 XrdClient *cli =
new new XrdClient(filename);
72 cli->Open(open_mode,open_opts);
78 XrdClientStatInfo stats;
91 cli->Read(s,streamPosition,
size);
~datastreamXrootd()
Destructor; closes the remote connection.
void open(const char *filename)
Open a remote file via XRootD.
datastreamXrootd()
Default constructor.
int read(char *s, int size)
Read bytes from the remote file.
Abstract and concrete data stream implementations for file I/O.