#include "XrdClient/XrdClient.hh"#include "XrdClient/XrdClientEnv.hh"#include "XrdSys/XrdSysHeaders.hh"#include "XrdClient/XrdClientCallback.hh"#include <fstream>#include <vector>#include <string>#include <sys/time.h>#include <math.h>Go to the source code of this file.
Classes | |
| class | MyXrdClientCallback |
Functions | |
| int | ReadSome (kXR_int64 *offs, kXR_int32 *lens, int maxnread, long long &totalbytes) |
| void | Think (long msdelay) |
| int | main (int argc, char **argv) |
Variables | |
| kXR_unt16 | open_mode = (kXR_ur | kXR_uw) |
| kXR_unt16 | open_opts = (0) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 86 of file TestXrdClient_read.cc.
References buf, XrdClient::Close(), EnvGetLong, EnvGetString, EnvPutInt, EnvPutString, free(), gettimeofday(), i, int, XrdClient::IsOpen_wait(), kOK, kXR_delete, kXR_open_updt, malloc(), NAME_READAHEADSIZE, NAME_READCACHESIZE, XrdClient::Open(), open_mode, open_opts, XrdClient::Read(), XrdClient::Read_Async(), ReadSome(), XrdClient::ReadV(), XrdClient::RemoveAllDataFromCache(), retval, s, Think(), u, XrdClient::Write(), and xrdmin.
| void Think | ( | long | msdelay | ) |
Definition at line 55 of file TestXrdClient_read.cc.
References gettimeofday(), i, long, memmove, random, sqrt(), and t.
Referenced by main().
1.5.1