xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
XrdXrootdPgwCtl Class Reference

#include <XrdXrootdPgwCtl.hh>

Collaboration diagram for XrdXrootdPgwCtl:
Collaboration graph
[legend]

Public Member Functions

bool Advance ()
 
const char * boAdd (XrdXrootdFile *fP, kXR_int64 foffs, int dlen=XrdProto::kXR_pgPageSZ)
 
char * boInfo (int &boLen)
 
struct iovec * FrameInfo (int &iovn, int &rdlen)
 
kXR_unt32FrameInfo (int &csNum, char *&buff, int &datalen, XrdBuffer *bP)
 
char * FrameLeft (int k, int &dlen)
 
const char * Setup (XrdBuffer *buffP, kXR_int64 fOffs, int totlen)
 
bool Suspend ()
 
bool Suspend (bool torf)
 
 XrdXrootdPgwCtl (const char *id, int pid)
 
 ~XrdXrootdPgwCtl ()
 

Public Attributes

ServerResponseStatus resp
 
ServerResponseBody_pgWrite info
 

Static Public Attributes

static const int crcSZ = sizeof(kXR_unt32)
 
static const int maxBSize = 1048576
 
static const int maxIOVN = maxBSize/XrdProto::kXR_pgPageSZ*2
 

Private Attributes

ServerResponseBody_pgWrCSE cse
 
kXR_int64 badOffs [XrdProto::kXR_pgMaxEpr]
 
const char * ID
 
char * dataBuff
 
int dataBLen
 
int iovNum
 
int iovRem
 
int iovLen
 
short endLen
 
short boCount
 
short fixSRD
 
char pathID
 
bool isSusp
 
kXR_unt32 csVec [maxIOVN/2]
 
struct iovec ioVec [maxIOVN]
 

Static Private Attributes

static const char * TraceID
 

Constructor & Destructor Documentation

XrdXrootdPgwCtl::XrdXrootdPgwCtl ( const char *  id,
int  pid 
)
XrdXrootdPgwCtl::~XrdXrootdPgwCtl ( )
inline

Member Function Documentation

bool XrdXrootdPgwCtl::Advance ( )
const char* XrdXrootdPgwCtl::boAdd ( XrdXrootdFile fP,
kXR_int64  foffs,
int  dlen = XrdProto::kXR_pgPageSZ 
)
char* XrdXrootdPgwCtl::boInfo ( int &  boLen)
struct iovec* XrdXrootdPgwCtl::FrameInfo ( int &  iovn,
int &  rdlen 
)
inline

References ioVec, iovLen, and iovNum.

kXR_unt32* XrdXrootdPgwCtl::FrameInfo ( int &  csNum,
char *&  buff,
int &  datalen,
XrdBuffer bP 
)
inline
char* XrdXrootdPgwCtl::FrameLeft ( int  k,
int &  dlen 
)
inline
const char* XrdXrootdPgwCtl::Setup ( XrdBuffer buffP,
kXR_int64  fOffs,
int  totlen 
)
bool XrdXrootdPgwCtl::Suspend ( )
inline

References isSusp.

bool XrdXrootdPgwCtl::Suspend ( bool  torf)
inline

References isSusp.

Member Data Documentation

kXR_int64 XrdXrootdPgwCtl::badOffs[XrdProto::kXR_pgMaxEpr]
private
short XrdXrootdPgwCtl::boCount
private
const int XrdXrootdPgwCtl::crcSZ = sizeof(kXR_unt32)
static

Referenced by FrameInfo(), and FrameLeft().

ServerResponseBody_pgWrCSE XrdXrootdPgwCtl::cse
private
kXR_unt32 XrdXrootdPgwCtl::csVec[maxIOVN/2]
private

Referenced by FrameInfo().

int XrdXrootdPgwCtl::dataBLen
private

Referenced by FrameInfo().

char* XrdXrootdPgwCtl::dataBuff
private

Referenced by FrameInfo().

short XrdXrootdPgwCtl::endLen
private
short XrdXrootdPgwCtl::fixSRD
private
const char* XrdXrootdPgwCtl::ID
private
ServerResponseBody_pgWrite XrdXrootdPgwCtl::info
struct iovec XrdXrootdPgwCtl::ioVec[maxIOVN]
private

Referenced by FrameInfo(), and FrameLeft().

int XrdXrootdPgwCtl::iovLen
private

Referenced by FrameInfo(), and FrameLeft().

int XrdXrootdPgwCtl::iovNum
private

Referenced by FrameInfo(), and FrameLeft().

int XrdXrootdPgwCtl::iovRem
private
bool XrdXrootdPgwCtl::isSusp
private

Referenced by Suspend().

const int XrdXrootdPgwCtl::maxBSize = 1048576
static
const int XrdXrootdPgwCtl::maxIOVN = maxBSize/XrdProto::kXR_pgPageSZ*2
static
char XrdXrootdPgwCtl::pathID
private
ServerResponseStatus XrdXrootdPgwCtl::resp
const char* XrdXrootdPgwCtl::TraceID
staticprivate

The documentation for this class was generated from the following file: