MAK RTIspy API Documentation for HLA 1516
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtForwarderNodeInfoProcessor Class Reference

The DtForwarderNodeInfoProcessor class registers filters for ForwarderNodeInfo messages . More...

+ Collaboration diagram for DtForwarderNodeInfoProcessor:

List of all members.

Public Types

typedef bool(DtForwarderNodeInfoProcessor::* forwarderNodeInfoMsgHandlerMemberCb )(const DtForwarderPort::DtAddressMsgPair &msg)
 Pointer to member function callbacks used by the port filters.

Public Member Functions

 DtForwarderNodeInfoProcessor (DtBoost::shared_ptr< DtForwarderNode > parent)
 Default Ctor.
virtual ~DtForwarderNodeInfoProcessor ()
 Default Dtor.
virtual bool processForwarderNodeInfoMsg (const DtForwarderPort::DtAddressMsgPair &msg)
 Respond to forwarder node info msg.

Static Public Member Functions

static int lostConnection (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &addr, void *usr)
 Connection loss callback.

Protected Member Functions

virtual int lostConnection (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &addr)
 Connection loss callback.

Protected Attributes

DtBoost::shared_ptr
< DtForwarderNode
myParent
DtForwarderNodeInfoFiltermyInitializationMsgsFilter
MAKRti::DtString myNodeName
MAKRti::DtString myHostName
unsigned long myConnId
DtInetAddrAndPort myIp
DtNetMapForwarderXmlBlock::SiblingList mySiblingForwarders

Detailed Description

The DtForwarderNodeInfoProcessor class registers filters for ForwarderNodeInfo messages .

The ForwarderNodeInfo contains info about a forwarder nod and is used by forwarders to obtain information about the running forwarder network.


Member Typedef Documentation

Pointer to member function callbacks used by the port filters.


Constructor & Destructor Documentation

Default Dtor.

References myInitializationMsgsFilter, and myParent.


Member Function Documentation

int DtForwarderNodeInfoProcessor::lostConnection ( const MAKRti::DtString &  connName,
unsigned int  connID,
const DtInetAddrAndPort addr,
void *  usr 
) [static]

Connection loss callback.

  • need to track connection losses in order to close pending requests
  • no need to track new connections (they will simply not be shown in the network map currently being built )

Referenced by DtForwarderNodeInfoProcessor().

int DtForwarderNodeInfoProcessor::lostConnection ( const MAKRti::DtString &  connName,
unsigned int  connID,
const DtInetAddrAndPort addr 
) [protected, virtual]

Connection loss callback.

References myParent.

Respond to forwarder node info msg.

References DtForwarderNodeInfoMsgKind, DtMacAddrMsgKind, and myParent.

Referenced by DtForwarderNodeInfoProcessor().


Member Data Documentation

unsigned long DtForwarderNodeInfoProcessor::myConnId [protected]
MAKRti::DtString DtForwarderNodeInfoProcessor::myHostName [protected]
MAKRti::DtString DtForwarderNodeInfoProcessor::myNodeName [protected]
DtBoost::shared_ptr<DtForwarderNode> DtForwarderNodeInfoProcessor::myParent [protected]

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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)