class TRIPNotificationMsg : public TRIPMsg

TRIPNotificationMsg

Inheritance:


Public Methods

void checkSanity() throw(TRIPBadDataException&)
Checks the sanity of TRIP Msg, and throws a Bad Data exception
string className()
virtual void dump(ostream& os)
u_int8_t getErrorCode()
u_int8_t getErrorSubCode()
TRIPOpCode getType()
bool isANotificationMsg()
TRIPNotificationMsg(u_int8_t errCode, u_int8_t errSubCode, const TRIPData& data)
void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

Private Fields

friend class TRIPMsgParser

Private Methods

void parse(const TRIPHeader& hdr, const char* data) throw(TRIPBadDataException&)
void parse(const char* data) throw(TRIPBadDataException&)
TRIPNotificationMsg()

Inherited from TRIPMsg:

Public Methods

const TRIPHeader& getHeader()
u_int16_t getMsgLength()
virtual bool isAKeepAliveMsg()
virtual bool isAOpenMsg()
virtual bool isAUpdateMsg()
friend ostream& operator<<(ostream& os, const TRIPMsg&)

Protected Fields

Sptr <TRIPHeader> _hdr

Protected Methods

void parseHeader(const char* data) throw(TRIPBadDataException&)
void setMsgLength(u_int16_t len)

Documentation

TRIPNotificationMsg
TRIPNotificationMsg(u_int8_t errCode, u_int8_t errSubCode, const TRIPData& data)

bool isANotificationMsg()

TRIPOpCode getType()

virtual void dump(ostream& os)

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

string className()

void checkSanity() throw(TRIPBadDataException&)
Checks the sanity of TRIP Msg, and throws a Bad Data exception

u_int8_t getErrorCode()

u_int8_t getErrorSubCode()

TRIPNotificationMsg()

void parse(const TRIPHeader& hdr, const char* data) throw(TRIPBadDataException&)

void parse(const char* data) throw(TRIPBadDataException&)

friend class TRIPMsgParser


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