XrdOucPup Class Reference

#include <XrdOucPup.hh>

List of all members.

Public Member Functions

int Pack (struct iovec *, struct iovec *, XrdOucPupArgs *, char *Base, char *Work)
int Unpack (const char *buff, const char *bend, XrdOucPupArgs *pup, char *base)
 XrdOucPup (XrdSysError *erp=0, XrdOucPupNames *nms=0)
 ~XrdOucPup ()

Static Public Member Functions

static int Pack (struct iovec **, const char *, unsigned short &buff)
static int Pack (struct iovec **, const char *, unsigned short &, int dlen)
static int Pack (char **buff, unsigned int data)
static int Pack (char **buff, const char *data, int dlen=-1)
static int Unpack (char **buff, const char *bend, char **data, int &dlen)

Static Public Attributes

static const int MaxLen = 0x7ff

Private Member Functions

int eMsg (const char *etxt, int ino, XrdOucPupArgs *pup)

Private Attributes

XrdSysErroreDest
XrdOucPupNamesNames


Detailed Description

Definition at line 80 of file XrdOucPup.hh.


Constructor & Destructor Documentation

XrdOucPup::XrdOucPup ( XrdSysError erp = 0,
XrdOucPupNames nms = 0 
) [inline]

Definition at line 139 of file XrdOucPup.hh.

References eDest, and Names.

XrdOucPup::~XrdOucPup (  )  [inline]

Definition at line 141 of file XrdOucPup.hh.


Member Function Documentation

int XrdOucPup::Pack ( struct iovec **  ,
const char *  ,
unsigned short buff 
) [static]

Definition at line 36 of file XrdOucPup.cc.

References iovec::iov_base, and iovec::iov_len.

Referenced by XrdSecProtocolsss::Authenticate(), XrdCmsCluster::Broadcast(), XrdCmsNode::do_Space(), XrdSecProtocolsss::Encode(), XrdSecsssID::genID(), XrdCmsParser::Pack(), and XrdCmsNode::Report_Usage().

int XrdOucPup::Pack ( struct iovec **  ,
const char *  ,
unsigned short ,
int  dlen 
) [static]

Definition at line 60 of file XrdOucPup.cc.

References iovec::iov_base, and iovec::iov_len.

int XrdOucPup::Pack ( char **  buff,
unsigned int  data 
) [static]

Definition at line 101 of file XrdOucPup.cc.

References PT_Inline, PT_int, and PT_Mask.

int XrdOucPup::Pack ( char **  buff,
const char *  data,
int  dlen = -1 
) [static]

Definition at line 80 of file XrdOucPup.cc.

int XrdOucPup::Pack ( struct iovec ,
struct iovec ,
XrdOucPupArgs ,
char *  Base,
char *  Work 
)

Definition at line 121 of file XrdOucPup.cc.

References Reflex::Dummy::Base(), XrdOucPupArgs::Dlen, XrdOucPupArgs::Doffs, XrdOucPupArgs::Dtype, eMsg(), int, iovec::iov_base, iovec::iov_len, long, MaxLen, PT_char, PT_Datlen, PT_End, PT_EndFill, PT_Fence, PT_Ignore, PT_int, PT_longlong, PT_MandS, PT_Mark, PT_short, PT_Skip, PT_special, PT_Totlen, and short.

int XrdOucPup::Unpack ( char **  buff,
const char *  bend,
char **  data,
int &  dlen 
) [static]

Definition at line 229 of file XrdOucPup.cc.

Referenced by XrdSecProtocolsss::Authenticate(), XrdSecProtocolsss::getCred(), XrdCmsLogin::Login(), and XrdCmsParser::Parse().

int XrdOucPup::Unpack ( const char *  buff,
const char *  bend,
XrdOucPupArgs pup,
char *  base 
)

Definition at line 253 of file XrdOucPup.cc.

References Reflex::Dummy::Base(), XrdOucPupArgs::Doffs, XrdOucPupArgs::Dtype, eMsg(), ntohll, PT_char, PT_Datlen, PT_End, PT_EndFill, PT_Fence, PT_Inline, PT_int, PT_longlong, PT_MaskB, PT_MaskD, PT_MaskT, PT_short, and short.

int XrdOucPup::eMsg ( const char *  etxt,
int  ino,
XrdOucPupArgs pup 
) [private]

Definition at line 329 of file XrdOucPup.cc.

References XrdOucPupArgs::Dtype, eDest, XrdSysError::Emsg(), XrdOucPupArgs::Name, Names, XrdOucPupNames::NList, XrdOucPupNames::NLnum, PT_char, PT_int, PT_longlong, PT_short, PT_special, and sprintf().

Referenced by Pack(), and Unpack().


Member Data Documentation

const int XrdOucPup::MaxLen = 0x7ff [static]

Definition at line 84 of file XrdOucPup.hh.

Referenced by Pack().

XrdSysError* XrdOucPup::eDest [private]

Definition at line 146 of file XrdOucPup.hh.

Referenced by eMsg(), and XrdOucPup().

XrdOucPupNames* XrdOucPup::Names [private]

Definition at line 147 of file XrdOucPup.hh.

Referenced by eMsg(), and XrdOucPup().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:39 2011 for ROOT_528-00b_version by  doxygen 1.5.1