MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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:

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 processForwarderNodeMsg (const DtForwarderPort::DtAddressMsgPair &msg)
 Respond to forwarder node messages.

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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

typedef bool(DtForwarderNodeInfoProcessor::* DtForwarderNodeInfoProcessor::forwarderNodeInfoMsgHandlerMemberCb)(const DtForwarderPort::DtAddressMsgPair &msg)

Pointer to member function callbacks used by the port filters.

Constructor & Destructor Documentation

DtForwarderNodeInfoProcessor::DtForwarderNodeInfoProcessor ( DtBoost::shared_ptr< DtForwarderNode parent)

Default Ctor.

virtual DtForwarderNodeInfoProcessor::~DtForwarderNodeInfoProcessor ( )
virtual

Default Dtor.

Member Function Documentation

static int DtForwarderNodeInfoProcessor::lostConnection ( const MAKRti::DtString &  connName,
const MAKRti::DtString &  hostName,
unsigned int  connID,
const std::pair< DtInetAddrAndPort, 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 )
virtual int DtForwarderNodeInfoProcessor::lostConnection ( const MAKRti::DtString &  connName,
const MAKRti::DtString &  hostName,
unsigned int  connID,
const std::pair< DtInetAddrAndPort, DtInetAddrAndPort > &  addr 
)
protectedvirtual

Connection loss callback.

virtual bool DtForwarderNodeInfoProcessor::processForwarderNodeMsg ( const DtForwarderPort::DtAddressMsgPair msg)
virtual

Respond to forwarder node messages.

Member Data Documentation

unsigned long DtForwarderNodeInfoProcessor::myConnId
protected
MAKRti::DtString DtForwarderNodeInfoProcessor::myHostName
protected
DtForwarderNodeInfoFilter* DtForwarderNodeInfoProcessor::myInitializationMsgsFilter
protected
DtInetAddrAndPort DtForwarderNodeInfoProcessor::myIp
protected
MAKRti::DtString DtForwarderNodeInfoProcessor::myNodeName
protected
DtBoost::shared_ptr<DtForwarderNode> DtForwarderNodeInfoProcessor::myParent
protected

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

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)