ot_lib::ot_messageBase Class Reference

#include <ot_lib.h>

Inheritance diagram for ot_lib::ot_messageBase:

ot_lib::ot_messageRequest ot_lib::ot_messageResponse ot_lib::ot_messageACTION ot_lib::ot_messageDUMP ot_lib::ot_messageGET ot_lib::ot_messagePING ot_lib::ot_messageSET ot_lib::ot_messageACTIONRESP ot_lib::ot_messageDUMPRESP ot_lib::ot_messageERROR ot_lib::ot_messageGETRESP ot_lib::ot_messagePINGRESP ot_lib::ot_messageSETRESP

List of all members.

Public Member Functions

virtual ~ot_messageBase (void)
OT_MESSAGE_TYPE getType (void) const
virtual const string getMessageCode (void) const =0
virtual void encode (ot_map &msg) const =0
virtual void makeHeader (ot_map &msg) const =0

Static Public Member Functions

static ot_messageBasedecodeMessage (const ot_map &input)

Protected Member Functions

 ot_messageBase (OT_MESSAGE_TYPE type)

Protected Attributes

OT_MESSAGE_TYPE m_type


Constructor & Destructor Documentation

ot_lib::ot_messageBase::ot_messageBase ( OT_MESSAGE_TYPE  type  )  [inline, protected]

virtual ot_lib::ot_messageBase::~ot_messageBase ( void   )  [inline, virtual]


Member Function Documentation

OT_MESSAGE_TYPE ot_lib::ot_messageBase::getType ( void   )  const [inline]

static ot_messageBase* ot_lib::ot_messageBase::decodeMessage ( const ot_map input  )  [static]

virtual const string ot_lib::ot_messageBase::getMessageCode ( void   )  const [pure virtual]

virtual void ot_lib::ot_messageBase::encode ( ot_map msg  )  const [pure virtual]

virtual void ot_lib::ot_messageBase::makeHeader ( ot_map msg  )  const [pure virtual]


Member Data Documentation


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

Generated on Sun May 4 12:42:45 2008 for OT_LIB 4.1 by  doxygen 1.5.5