TestXrdClient_read.cc File Reference

#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)


Function Documentation

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.

int ReadSome ( kXR_int64 offs,
kXR_int32 lens,
int  maxnread,
long long totalbytes 
)

Definition at line 32 of file TestXrdClient_read.cc.

References i.

Referenced by main().

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().


Variable Documentation

kXR_unt16 open_mode = (kXR_ur | kXR_uw)

Definition at line 29 of file TestXrdClient_read.cc.

Referenced by main().

kXR_unt16 open_opts = (0)

Definition at line 30 of file TestXrdClient_read.cc.

Referenced by main().


Generated on Tue Jul 5 16:08:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1