xorp

FinderMessageBase Class Reference

Base class for FinderMessage classes. More...

#include <finder_msgs.hh>

Inheritance diagram for FinderMessageBase:
FinderXrlMessage FinderXrlResponse

List of all members.

Public Member Functions

 FinderMessageBase (uint32_t seqno, char type)
 Construct a message.
const string & str () const
 String render method.

Protected Attributes

string _rendered

Static Protected Attributes

static const char * c_msg_template

Friends

class ParsedFinderMessageBase

Detailed Description

Base class for FinderMessage classes.


Constructor & Destructor Documentation

FinderMessageBase::FinderMessageBase ( uint32_t  seqno,
char  type 
)

Construct a message.

Initialized string representation with filled in header fields. Child constructors add their own payload representation.

Parameters:
seqnoThe sequence number to be associated with the message
typeThe message type.

Member Function Documentation

const string& FinderMessageBase::str ( ) const [inline]

String render method.

This method provides


Member Data Documentation

const char * FinderMessageBase::c_msg_template [static, protected]
Initial value:
"%u"
    FMC_MSG_DATA

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations