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

olsr::msg::HELLOMessage Class Reference

The HELLO message class. More...

#include <hello.hh>

Inheritance diagram for olsr::msg::HELLOMessage:

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

Public Member Functions

virtual ~HELLOMessage ()
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 Protected Attributes

static const ::size_t min_length = sizeof (raw)
 Minimum length of HELLO message.

Classes

struct  linksetraw
 Convenience structure of header of link set portion of HELLO message. More...
struct  raw
 Convenience structure of HELLO message header. More...

Detailed Description

The HELLO message class.


Constructor & Destructor Documentation

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

The destructor


Member Function Documentation

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

The message dumper

  • d Destination data buffer
  • interface Source interface address of the packet
    Returns:
    true if the message has to be fragmented
    The HELLO message is generated on demand and the returned flag indicates whether the message has to be regenerated to avoid remote data expiration.

Implements olsr::msg::Message.

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

The message parser

  • d Message data to parse
  • mh Message header


Member Data Documentation

const ::size_t olsr::msg::HELLOMessage::min_length = sizeof (raw) [static, protected]
 

Minimum length of HELLO 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