Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ()
 
 XrdClientMessage (ServerResponseHeader header)
 
 ~XrdClientMessage ()
 
bool CreateData ()
 
int DataLen ()
 
voidDonateData ()
 
voidGetData ()
 
int GetStatusCode ()
 
kXR_unt16 HeaderSID ()
 
int HeaderStatus ()
 
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
 
XrdSysRecMutex fMultireadMutex
 
short fStatusCode
 

#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/proof/xrdinc/XrdClient/XrdClientMessage.hh>

Member Enumeration Documentation

◆ EXrdMSCStatus

Enumerator
kXrdMSC_ok 
kXrdMSC_readerr 
kXrdMSC_writeerr 
kXrdMSC_timeout 

Definition at line 63 of file XrdClientMessage.hh.

Constructor & Destructor Documentation

◆ XrdClientMessage() [1/2]

XrdClientMessage::XrdClientMessage ( ServerResponseHeader  header)

◆ XrdClientMessage() [2/2]

XrdClientMessage::XrdClientMessage ( )

◆ ~XrdClientMessage()

XrdClientMessage::~XrdClientMessage ( )

Member Function Documentation

◆ CharStreamid2Int()

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

◆ CreateData()

bool XrdClientMessage::CreateData ( )

◆ DataLen()

int XrdClientMessage::DataLen ( )
inline

Definition at line 79 of file XrdClientMessage.hh.

◆ DonateData()

void * XrdClientMessage::DonateData ( )

◆ GetData()

void * XrdClientMessage::GetData ( )
inline

Definition at line 82 of file XrdClientMessage.hh.

◆ GetStatusCode()

int XrdClientMessage::GetStatusCode ( )
inline

Definition at line 83 of file XrdClientMessage.hh.

◆ HeaderSID()

kXR_unt16 XrdClientMessage::HeaderSID ( )
inline

Definition at line 87 of file XrdClientMessage.hh.

◆ HeaderStatus()

int XrdClientMessage::HeaderStatus ( )
inline

Definition at line 85 of file XrdClientMessage.hh.

◆ Int2CharStreamid()

static void XrdClientMessage::Int2CharStreamid ( kXR_char *  charstreamid,
short  intstreamid 
)
static

◆ IsAttn()

bool XrdClientMessage::IsAttn ( )
inline

Definition at line 89 of file XrdClientMessage.hh.

◆ IsError()

bool XrdClientMessage::IsError ( )
inline

Definition at line 91 of file XrdClientMessage.hh.

◆ IsMarshalled()

bool XrdClientMessage::IsMarshalled ( )
inline

Definition at line 93 of file XrdClientMessage.hh.

◆ Marshall()

void XrdClientMessage::Marshall ( )

◆ MatchStreamid()

bool XrdClientMessage::MatchStreamid ( short  sid)
inline

Definition at line 95 of file XrdClientMessage.hh.

◆ ReadRaw()

int XrdClientMessage::ReadRaw ( XrdClientPhyConnection phy)

◆ SetHeaderStatus()

void XrdClientMessage::SetHeaderStatus ( kXR_unt16  sts)
inline

Definition at line 97 of file XrdClientMessage.hh.

◆ SetMarshalled()

void XrdClientMessage::SetMarshalled ( bool  m)
inline

Definition at line 98 of file XrdClientMessage.hh.

◆ SetStatusCode()

void XrdClientMessage::SetStatusCode ( kXR_unt16  status)
inline

Definition at line 99 of file XrdClientMessage.hh.

◆ Unmarshall()

void XrdClientMessage::Unmarshall ( )

Member Data Documentation

◆ fAllocated

bool XrdClientMessage::fAllocated
private

Definition at line 52 of file XrdClientMessage.hh.

◆ fData

void* XrdClientMessage::fData
private

Definition at line 53 of file XrdClientMessage.hh.

◆ fHdr

ServerResponseHeader XrdClientMessage::fHdr

Definition at line 70 of file XrdClientMessage.hh.

◆ fMarshalled

bool XrdClientMessage::fMarshalled
private

Definition at line 54 of file XrdClientMessage.hh.

◆ fMultireadMutex

XrdSysRecMutex XrdClientMessage::fMultireadMutex
private

Definition at line 56 of file XrdClientMessage.hh.

◆ fStatusCode

short XrdClientMessage::fStatusCode
private

Definition at line 55 of file XrdClientMessage.hh.

  • proof/xrdinc/XrdClient/XrdClientMessage.hh