olsr::msg::UnknownMessage Class Reference

Unknown message class. More...

#include <message.hh>

Inheritance diagram for olsr::msg::UnknownMessage:

olsr::msg::Message

List of all members.

Public Member Functions

 UnknownMessage (utl::Data &d)
virtual ~UnknownMessage ()
virtual bool dump (utl::Data &d, const address_t &) const
virtual void inc_seqnum ()

Private Attributes

utl::Data _data
 Data buffer.


Detailed Description

Unknown message class.

This is a trivial class for the handling of message which type is unknown. An unknown message can only be created with actual data content and dumped to a given buffer.


Constructor & Destructor Documentation

olsr::msg::UnknownMessage::UnknownMessage ( utl::Data d  )  [inline]

The constructor

  • d Message data

virtual olsr::msg::UnknownMessage::~UnknownMessage (  )  [inline, virtual]

The destructor


Member Function Documentation

bool olsr::msg::UnknownMessage::dump ( utl::Data d,
const address_t  
) const [inline, virtual]

The dumping method

  • d Destination data buffer
    Returns:
    true if the message has to be resent

Implements olsr::msg::Message.

References _data, olsr::utl::Data_< Self >::dump(), and olsr::utl::Data_< Self >::size().

virtual void olsr::msg::UnknownMessage::inc_seqnum (  )  [inline, virtual]

The sequence number incrementing method

Reimplemented from olsr::msg::Message.


Member Data Documentation

Data buffer.

Referenced by dump().


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

Generated on Thu Feb 12 20:45:38 2009 for Qolyester daemon by  doxygen 1.5.6