NodeMessage Class Reference
[Fountain master and slave nodesMessage Building and Parsing]

Abstract base class for messages sent to and from Fountain nodes. More...

#include <NodeMessage.h>

Inheritance diagram for NodeMessage:

FountainMessage BambooLib::BuildMsg NodeRequest NodeResponse List of all members.

Public Member Functions

virtual ~NodeMessage ()=0
 Pure virtual destructor so clients cannot instantiate NodeMessage objects.

Protected Member Functions

 NodeMessage (Loki::Int2Type< BambooLib::requestElement >, MessageAction a, const NodeID &src, const NodeID &dest)
 Constructor for building a request NodeMessage.
 NodeMessage (Loki::Int2Type< BambooLib::responseElement >, MessageAction a, const NodeID &src, const NodeID &dest)
 Constructor for building a response NodeMessage.

Protected Attributes

NodeID sourceID_
NodeID destinationID_
BambooLib::XMLElementnodeListElement_

Detailed Description

Abstract base class for messages sent to and from Fountain nodes.


Constructor & Destructor Documentation

NodeMessage::NodeMessage Loki::Int2Type< BambooLib::requestElement >  ,
MessageAction  a,
const NodeID src,
const NodeID dest
[protected]
 

Constructor for building a request NodeMessage.

Parameters:
[in] a The MessageAction for this message
[in] src The NodeID of the Fountain node creating this message
[in] dest The NodeID of the Fountain node this message is destined to
Exceptions:
FountainException If the Source or Destination elements could not be created

NodeMessage::NodeMessage Loki::Int2Type< BambooLib::responseElement >  ,
MessageAction  a,
const NodeID src,
const NodeID dest
[protected]
 

Constructor for building a response NodeMessage.

Parameters:
[in] a The MessageAction for this message
[in] src The NodeID of the Fountain node creating this message
[in] dest The NodeID of the Fountain node this message is destined to
Exceptions:
FountainException If the Source or Destination elements could not be created


Member Data Documentation

NodeID NodeMessage::destinationID_ [protected]
 

The destination NodeID

BambooLib::XMLElement* NodeMessage::nodeListElement_ [protected]
 

The NodeList element

NodeID NodeMessage::sourceID_ [protected]
 

The source NodeID


The documentation for this class was generated from the following files:
Generated on Wed Mar 8 14:43:33 2006 for Fountain by  doxygen 1.4.6