XrdMonDecOnePacket Class Reference

#include <XrdMonDecOnePacket.hh>

List of all members.

Public Types

enum  

Public Member Functions

 XrdMonDecOnePacket ()
 XrdMonDecOnePacket (bool)
 XrdMonDecOnePacket (int errType, kXR_int64 pos)
int init (const char *buf, int bytesLeft, kXR_int64 fPos)
long myNr () const
kXR_int64 fPos () const
kXR_int16 seq () const
dictid_t dictId () const
packetlen_t len () const
kXR_int32 stod () const
bool isLost () const
void setOOOStatus ()

Static Public Member Functions

static dictid_t minDictId ()
static dictid_t maxDictId ()
static void resetNextNr ()

Private Attributes

long _myNr
kXR_int64 _fPos
kXR_int16 _seq
dictid_t _dictId
packetlen_t _len
kXR_int32 _stod

Static Private Attributes

static long _nextNr
static dictid_t _minDictId
static dictid_t _maxDictId

Friends

ostream & operator<< (ostream &o, const XrdMonDecOnePacket &p)


Detailed Description

Definition at line 23 of file XrdMonDecOnePacket.hh.


Member Enumeration Documentation

anonymous enum

Definition at line 46 of file XrdMonDecOnePacket.hh.


Constructor & Destructor Documentation

XrdMonDecOnePacket::XrdMonDecOnePacket (  )  [inline]

Definition at line 25 of file XrdMonDecOnePacket.hh.

XrdMonDecOnePacket::XrdMonDecOnePacket ( bool   ) 

Definition at line 26 of file XrdMonDecOnePacket.cc.

XrdMonDecOnePacket::XrdMonDecOnePacket ( int  errType,
kXR_int64  pos 
)

Definition at line 34 of file XrdMonDecOnePacket.cc.


Member Function Documentation

int XrdMonDecOnePacket::init ( const char *  buf,
int  bytesLeft,
kXR_int64  fPos 
)

Definition at line 43 of file XrdMonDecOnePacket.cc.

References _dictId, _fPos, _len, _maxDictId, _minDictId, _myNr, _nextNr, _seq, _stod, XrdMonHeader::decode(), HDRLEN, PACKET_TYPE_DICT, XrdMonHeader::packetLen(), XrdMonHeader::packetType(), XrdMonHeader::seqNo(), and XrdMonHeader::stod().

Referenced by XrdMonDecPreProcess::processOnePacket().

static dictid_t XrdMonDecOnePacket::minDictId (  )  [inline, static]

Definition at line 30 of file XrdMonDecOnePacket.hh.

References _minDictId.

Referenced by doDecoding(), and XrdMonDecPreProcess::reportAndThrowIfTooBad().

static dictid_t XrdMonDecOnePacket::maxDictId (  )  [inline, static]

Definition at line 31 of file XrdMonDecOnePacket.hh.

References _maxDictId.

Referenced by doDecoding(), and XrdMonDecPreProcess::reportAndThrowIfTooBad().

static void XrdMonDecOnePacket::resetNextNr (  )  [inline, static]

Definition at line 32 of file XrdMonDecOnePacket.hh.

References _nextNr.

Referenced by XrdMonDecPreProcess::processOnePacket().

long XrdMonDecOnePacket::myNr (  )  const [inline]

Definition at line 34 of file XrdMonDecOnePacket.hh.

References _myNr.

Referenced by XrdMonDecPreProcess::processOnePacket().

kXR_int64 XrdMonDecOnePacket::fPos (  )  const [inline]

Definition at line 35 of file XrdMonDecOnePacket.hh.

References _fPos.

Referenced by XrdMonDecPreProcess::keepPacket(), and XrdMonDecPreProcess::outOfOrder().

kXR_int16 XrdMonDecOnePacket::seq (  )  const [inline]

Definition at line 36 of file XrdMonDecOnePacket.hh.

References _seq.

Referenced by XrdMonDecPreProcess::outOfOrder(), and XrdMonDecPreProcess::processOnePacket().

dictid_t XrdMonDecOnePacket::dictId (  )  const [inline]

Definition at line 37 of file XrdMonDecOnePacket.hh.

References _dictId.

packetlen_t XrdMonDecOnePacket::len (  )  const [inline]

Definition at line 38 of file XrdMonDecOnePacket.hh.

References _len.

Referenced by XrdMonDecPreProcess::keepPacket(), and XrdMonDecPreProcess::outOfOrder().

kXR_int32 XrdMonDecOnePacket::stod (  )  const [inline]

Definition at line 39 of file XrdMonDecOnePacket.hh.

References _stod.

Referenced by XrdMonDecPreProcess::processOnePacket().

bool XrdMonDecOnePacket::isLost (  )  const [inline]

Definition at line 41 of file XrdMonDecOnePacket.hh.

References _seq, and LOST.

void XrdMonDecOnePacket::setOOOStatus (  )  [inline]

Definition at line 43 of file XrdMonDecOnePacket.hh.

References _seq, and OOO.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  o,
const XrdMonDecOnePacket p 
) [friend]

Definition at line 83 of file XrdMonDecOnePacket.cc.


Member Data Documentation

long XrdMonDecOnePacket::_nextNr [static, private]

Definition at line 53 of file XrdMonDecOnePacket.hh.

Referenced by init(), and resetNextNr().

dictid_t XrdMonDecOnePacket::_minDictId [static, private]

Definition at line 54 of file XrdMonDecOnePacket.hh.

Referenced by init(), and minDictId().

dictid_t XrdMonDecOnePacket::_maxDictId [static, private]

Definition at line 55 of file XrdMonDecOnePacket.hh.

Referenced by init(), and maxDictId().

long XrdMonDecOnePacket::_myNr [private]

Definition at line 57 of file XrdMonDecOnePacket.hh.

Referenced by init(), and myNr().

kXR_int64 XrdMonDecOnePacket::_fPos [private]

Definition at line 59 of file XrdMonDecOnePacket.hh.

Referenced by fPos(), and init().

kXR_int16 XrdMonDecOnePacket::_seq [private]

Definition at line 60 of file XrdMonDecOnePacket.hh.

Referenced by init(), isLost(), seq(), and setOOOStatus().

dictid_t XrdMonDecOnePacket::_dictId [private]

Definition at line 61 of file XrdMonDecOnePacket.hh.

Referenced by dictId(), and init().

packetlen_t XrdMonDecOnePacket::_len [private]

Definition at line 62 of file XrdMonDecOnePacket.hh.

Referenced by init(), and len().

kXR_int32 XrdMonDecOnePacket::_stod [private]

Definition at line 63 of file XrdMonDecOnePacket.hh.

Referenced by init(), and stod().


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