ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
XrdClientMessage Class Reference

Definition at line 49 of file XrdClientMessage.hh.

Public Types

enum  EXrdMSCStatus { kXrdMSC_ok = 0, kXrdMSC_readerr = 1, kXrdMSC_writeerr = 2, kXrdMSC_timeout = 3 }
 

Public Member Functions

 XrdClientMessage (ServerResponseHeader header)
 
 XrdClientMessage ()
 
 ~XrdClientMessage ()
 
bool CreateData ()
 
int DataLen ()
 
voidDonateData ()
 
voidGetData ()
 
int GetStatusCode ()
 
int HeaderStatus ()
 
kXR_unt16 HeaderSID ()
 
bool IsAttn ()
 
bool IsError ()
 
bool IsMarshalled ()
 
void Marshall ()
 
bool MatchStreamid (short sid)
 
int ReadRaw (XrdClientPhyConnection *phy)
 
void SetHeaderStatus (kXR_unt16 sts)
 
void SetMarshalled (bool m)
 
void SetStatusCode (kXR_unt16 status)
 
void Unmarshall ()
 

Static Public Member Functions

static kXR_unt16 CharStreamid2Int (kXR_char *charstreamid)
 
static void Int2CharStreamid (kXR_char *charstreamid, short intstreamid)
 

Public Attributes

ServerResponseHeader fHdr
 

Private Attributes

bool fAllocated
 
voidfData
 
bool fMarshalled
 
short fStatusCode
 
XrdSysRecMutex fMultireadMutex
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/proof/xrdinc/XrdClient/XrdClientMessage.hh>

Member Enumeration Documentation

Enumerator
kXrdMSC_ok 
kXrdMSC_readerr 
kXrdMSC_writeerr 
kXrdMSC_timeout 

Definition at line 63 of file XrdClientMessage.hh.

Constructor & Destructor Documentation

XrdClientMessage::XrdClientMessage ( ServerResponseHeader  header)
XrdClientMessage::XrdClientMessage ( )
XrdClientMessage::~XrdClientMessage ( )

Member Function Documentation

static kXR_unt16 XrdClientMessage::CharStreamid2Int ( kXR_char *  charstreamid)
static

Referenced by HeaderSID().

bool XrdClientMessage::CreateData ( )
int XrdClientMessage::DataLen ( )
inline
void* XrdClientMessage::DonateData ( )
void* XrdClientMessage::GetData ( )
inline
int XrdClientMessage::GetStatusCode ( )
inline

Definition at line 83 of file XrdClientMessage.hh.

Referenced by TXSocket::ProcessUnsolicitedMsg().

kXR_unt16 XrdClientMessage::HeaderSID ( )
inline

Definition at line 87 of file XrdClientMessage.hh.

Referenced by MatchStreamid(), and TXSocket::ProcessUnsolicitedMsg().

int XrdClientMessage::HeaderStatus ( )
inline
static void XrdClientMessage::Int2CharStreamid ( kXR_char *  charstreamid,
short  intstreamid 
)
static
bool XrdClientMessage::IsAttn ( )
inline

Definition at line 89 of file XrdClientMessage.hh.

bool XrdClientMessage::IsError ( )
inline
bool XrdClientMessage::IsMarshalled ( )
inline

Definition at line 93 of file XrdClientMessage.hh.

void XrdClientMessage::Marshall ( )
bool XrdClientMessage::MatchStreamid ( short  sid)
inline

Definition at line 95 of file XrdClientMessage.hh.

Referenced by TXSocket::ProcessUnsolicitedMsg().

int XrdClientMessage::ReadRaw ( XrdClientPhyConnection phy)
void XrdClientMessage::SetHeaderStatus ( kXR_unt16  sts)
inline

Definition at line 97 of file XrdClientMessage.hh.

void XrdClientMessage::SetMarshalled ( bool  m)
inline

Definition at line 98 of file XrdClientMessage.hh.

void XrdClientMessage::SetStatusCode ( kXR_unt16  status)
inline

Definition at line 99 of file XrdClientMessage.hh.

void XrdClientMessage::Unmarshall ( )

Member Data Documentation

bool XrdClientMessage::fAllocated
private

Definition at line 52 of file XrdClientMessage.hh.

void* XrdClientMessage::fData
private

Definition at line 53 of file XrdClientMessage.hh.

Referenced by GetData().

ServerResponseHeader XrdClientMessage::fHdr

Definition at line 70 of file XrdClientMessage.hh.

Referenced by XrdProofConn::SendRecv(), and XrdProofConn::SendReq().

bool XrdClientMessage::fMarshalled
private

Definition at line 54 of file XrdClientMessage.hh.

Referenced by IsMarshalled().

XrdSysRecMutex XrdClientMessage::fMultireadMutex
private

Definition at line 56 of file XrdClientMessage.hh.

short XrdClientMessage::fStatusCode
private

Definition at line 55 of file XrdClientMessage.hh.

Referenced by GetStatusCode().


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