Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

olsr::msg::MIDMessage Class Reference

MID message class. More...

#include <mid.hh>

Inheritance diagram for olsr::msg::MIDMessage:

olsr::msg::Message List of all members.

Public Member Functions

 MIDMessage ()
 MIDMessage (const utl::Data &d, const address_t &)
virtual ~MIDMessage ()
virtual bool dump (utl::Data &d, const address_t &interface) const

Static Public Member Functions

static void parse (const utl::ConstData &d, const Message::header &mh)

Static Public Attributes

static const ::size_t min_length = ADDRESS_SIZE
 Minimum length of a MID message.

Private Types

typedef MIDMessage This
typedef Message Super

Private Attributes

utl::Data _data
 The message data buffer.

Detailed Description

MID message class.


Member Typedef Documentation

typedef Message olsr::msg::MIDMessage::Super [private]
 

typedef MIDMessage olsr::msg::MIDMessage::This [private]
 


Constructor & Destructor Documentation

olsr::msg::MIDMessage::MIDMessage  ) 
 

The default constructor

olsr::msg::MIDMessage::MIDMessage const utl::Data d,
const address_t
 

The constructor

  • d Message data buffer

virtual olsr::msg::MIDMessage::~MIDMessage  )  [inline, virtual]
 

The destructor


Member Function Documentation

bool olsr::msg::MIDMessage::dump utl::Data d,
const address_t interface
const [virtual]
 

The dumping method

  • d Destination data buffer
  • interface Source interface address of the packet
    Returns:
    true if the message is to be resent

Implements olsr::msg::Message.

void olsr::msg::MIDMessage::parse const utl::ConstData d,
const Message::header mh
[static]
 

The parsing routine

  • d Message data buffer
  • mh Message header


Member Data Documentation

utl::Data olsr::msg::MIDMessage::_data [private]
 

The message data buffer.

const ::size_t olsr::msg::MIDMessage::min_length = ADDRESS_SIZE [static]
 

Minimum length of a MID message.

Reimplemented from olsr::msg::Message.


The documentation for this class was generated from the following files:
Generated on Thu Jul 28 21:21:50 2005 for Qolyester daemon by  doxygen 1.4.1