dtn::ProphetNode Class Reference

ProphetNode stores state for a remote node as identified by remote_eid. More...

#include <ProphetNode.h>

Inheritance diagram for dtn::ProphetNode:
prophet::Node

List of all members.

Public Member Functions

 ProphetNode (const prophet::NodeParams *params=NULL)
 Default constructor.
 ProphetNode (const oasys::Builder &)
 Deserialization and testing constructor.
virtual ~ProphetNode ()
 Destructor.
const EndpointIDremote_eid ()
 Accessors.
ProphetNodeoperator= (const ProphetNode &p)
 Assignment operator.
const EndpointIDdurable_key ()
 Hook for the generic durable table implementation to know what the key is for the database.
void serialize (oasys::SerializeAction *a)
 Virtual from SerializableObject.

 ProphetNode (const ProphetNode &node)
 Copy constructor.
 ProphetNode (const prophet::Node &node)
 Copy constructor.

Protected Member Functions

void set_eid (const EndpointID &eid)
 Mutator.

Protected Attributes

EndpointID remote_eid_
 EID of remote peer represented by this route.

Friends

class ProphetNodeList
 for access to prophet::Node mutators

Detailed Description

ProphetNode stores state for a remote node as identified by remote_eid.

Definition at line 31 of file ProphetNode.h.


Constructor & Destructor Documentation

dtn::ProphetNode::ProphetNode ( const prophet::NodeParams params = NULL  ) 

Default constructor.

Definition at line 25 of file ProphetNode.cc.

dtn::ProphetNode::ProphetNode ( const ProphetNode node  ) 

Copy constructor.

Definition at line 30 of file ProphetNode.cc.

dtn::ProphetNode::ProphetNode ( const prophet::Node node  ) 

Copy constructor.

Definition at line 37 of file ProphetNode.cc.

dtn::ProphetNode::ProphetNode ( const oasys::Builder &   ) 

Deserialization and testing constructor.

Definition at line 44 of file ProphetNode.cc.

virtual dtn::ProphetNode::~ProphetNode (  )  [inline, virtual]

Destructor.

Definition at line 54 of file ProphetNode.h.


Member Function Documentation

const EndpointID& dtn::ProphetNode::durable_key (  )  [inline]

Hook for the generic durable table implementation to know what the key is for the database.

Definition at line 78 of file ProphetNode.h.

References remote_eid().

ProphetNode& dtn::ProphetNode::operator= ( const ProphetNode p  )  [inline]

Assignment operator.

Definition at line 67 of file ProphetNode.h.

References remote_eid_.

const EndpointID& dtn::ProphetNode::remote_eid (  )  [inline]

Accessors.

Definition at line 59 of file ProphetNode.h.

References dtn::EndpointID::assign(), prophet::Node::dest_id_, and remote_eid_.

Referenced by durable_key().

void dtn::ProphetNode::serialize ( oasys::SerializeAction *  a  ) 
void dtn::ProphetNode::set_eid ( const EndpointID eid  )  [inline, protected]

Friends And Related Function Documentation

friend class ProphetNodeList [friend]

for access to prophet::Node mutators

Definition at line 86 of file ProphetNode.h.


Member Data Documentation

EID of remote peer represented by this route.

Definition at line 97 of file ProphetNode.h.

Referenced by operator=(), remote_eid(), serialize(), and set_eid().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:24 2010 for DTN Reference Implementation by  doxygen 1.6.3