class TRIPHeader

TRIPHeader

Public Methods

TripHeaderData& getDataRep()
static u_int16_t getHdrLength()
Returns the fixed length of header
u_int16_t getMsgLength()
The return length includes the length of the header also
u_int8_t getType()
bool isAKeepAliveHdr()
bool isANotificationHdr()
bool isAOpenHdr()
bool isAUpdateHdr()
friend ostream& operator<<(ostream& os, const TRIPHeader&)
TRIPHeader& operator=(const TRIPHeader& other)
TRIPHeader(const TRIPHeader& other)
TRIPHeader(const char* buf) throw(TRIPBadDataException&)
TRIPHeader(u_int8_t type, u_int16_t length)
void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

Private Fields

TripHeaderData _dataRep
friend class TRIPMsg

Private Methods

void copyObj(const TRIPHeader& other)
void setMsgLength(u_int16_t len)

Documentation

TRIPHeader
TRIPHeader(u_int8_t type, u_int16_t length)

TRIPHeader(const char* buf) throw(TRIPBadDataException&)

TRIPHeader(const TRIPHeader& other)

TRIPHeader& operator=(const TRIPHeader& other)

bool isAOpenHdr()

bool isAUpdateHdr()

bool isANotificationHdr()

bool isAKeepAliveHdr()

u_int16_t getMsgLength()
The return length includes the length of the header also

static u_int16_t getHdrLength()
Returns the fixed length of header

friend ostream& operator<<(ostream& os, const TRIPHeader&)

void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

TripHeaderData& getDataRep()

u_int8_t getType()

void setMsgLength(u_int16_t len)

void copyObj(const TRIPHeader& other)

TripHeaderData _dataRep

friend class TRIPMsg


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de