![]() |
MAK RTIspy API Documentation for HLA 1.3
|
DtRtiMsgForwarder manages connections and message distribution to local federates and remote Forwarders (if any). More...
Inheritance diagram for DtRtiMsgForwarder:
Collaboration diagram for DtRtiMsgForwarder:Classes | |
| struct | ConnectionInfo |
Public Types | |
| typedef DtBoost::shared_ptr < ConnectionInfo > | ConnectionInfoSP |
| typedef DtBoost::weak_ptr < ConnectionInfo > | ConnectionInfoWP |
| typedef std::map< const DtTcpMsgSocket *, ConnectionInfoSP > | SocketToConnInfoMap |
Public Member Functions | |
| virtual | ~DtRtiMsgForwarder () |
| Destructor. | |
| virtual void | init () |
| Initialize the forwarder (called by creator) | |
| virtual bool | hasExec () const |
| Query the rtiExec Handshake monitor for whether it has an exec. | |
| virtual void | run () |
| Main execution routine. | |
| virtual void | setEnableBundling (unsigned int maxBundleSize) |
| Get the rtiexec's socket if known. | |
| virtual void | setUseSmartForwarding (bool yesNo) |
| Enable Smart DM Subscription Filtering. | |
| virtual void | setUseInternalSmartForwarding (bool yesNo) |
| Enable Smart DM Subscription Filtering for internal messages. | |
| virtual void | setRouteFedexMessages (bool yesNo) |
| Enable Smart Fedex Message Filtering. | |
| virtual void | addPacketFilter (DtMessageFilter *filter) |
| [Un]Register a forwarding filter on incoming packets | |
| virtual void | removePacketFilter (DtMessageFilter *filter) |
| virtual unsigned long | forwarderId () const |
| Return the forwarder ID (defines the address space for connIds for this forwarder) | |
| virtual void | setForwarderId (unsigned long newId) |
| set the forwarder ID. | |
| void | updateTcpForwarderQueuedSockets () |
| update the tcp forwarders queued sockets | |
| virtual const DtRtiMsgForwarder::SocketToConnInfoMap & | getConnToConnInfoMap () const |
| WARNING: These methods are not thread-safe and may only be called by the back-end forwarder thread! | |
| virtual ConnectionInfoSP | getConnectionInfoByConnId (unsigned long connId) const |
| Get a shared pointer to the connection info for a connection by Conn ID. | |
| virtual ConnectionInfoSP | getConnectionInfoByHandle (unsigned long federateHandle) const |
| Get a shared pointer to the connection info for a connection by Federate Handle. | |
| virtual ConnectionInfoSP | getConnectionInfoBySocket (const DtTcpMsgSocket *sock) const |
| Get a shared pointer to the connection info for a connection by Socket. | |
| virtual std::pair< bool, unsigned long > | rtiExecConnected () const |
| Is the rtiexec connected and if so what is its connId? | |
| virtual void | sendMessage (const DtRtiMsg &msg, const DtTcpMsgSocket *src=0) |
| Send a message to all local sockets (filters will be applied) | |
| virtual void | requestCloseAllConnections () |
| Disconnect all open connections after this pass through run-loop completes. | |
| virtual void | requestKillSingleConnection (const DtTcpMsgSocket *sock) |
| Disconnect the requestedTcpSocket. | |
| virtual void | markConnectionAsAboutToBeDeleted (DtTcpMsgSocket const *socket, unsigned int connectionId) |
| Mark the given socket as one that is to be deleted silently. | |
| virtual bool | isConnectionMarkedForDeletion (unsigned int connectionId) const |
| Return boolean: given connection has been marked for deletion? | |
| virtual void | removeOldConnection (unsigned int connectionId) |
| Remove the socket specified by the given connection. | |
| virtual void | shutdownRequestedByExec () |
| Shutdown the forwarder application. | |
| virtual bool | updateFederateConnectionId (unsigned long orig, unsigned long final) |
| Set a locally connected federate's connId in the associated connection info struct. | |
| virtual void | updateConnectionProcessParameters (unsigned long connId, unsigned long processId, MAKRti::DtString processName, MAKRti::DtString commandArgs) |
| Set a connections process information. | |
| virtual bool | shouldStop () |
| should this forwarder stop. | |
Static Public Member Functions | |
| static DtRtiMsgForwarder * | create (unsigned long id, const DtRIDParameters ¶ms) |
| Create an instance of a DtRtiMsgForwarder. | |
| static void | setCreatorFunction (DtRtiMsgFwderCreator fn) |
| Call this function to set an alternate creator function With this function, users can replace this DtRtiMsgForwarder with their own derived class. | |
| static void | tcpSocketAdditionCb (DtTcpMsgSocket *sock, void *usr) |
| Callbacks on addition/removal of TCP sockets. | |
| static void | tcpSocketRemovalCb (DtTcpMsgSocket *sock, void *usr) |
Protected Member Functions | |
| DtRtiMsgForwarder (unsigned long id, const DtRIDParameters ¶ms) | |
| Default Constructor. | |
| virtual void | performMcastDiscovery () |
| virtual void | applyRegisteredFilters () |
| Enable / Disable all filters registered with forwarder. | |
| virtual void | disableRegisteredFilters () |
| virtual void | waitForIo () |
| Wait on sockets for next IO event (allows RTIspy users to control the wait mechanism and period) | |
| virtual void | tcpSocketAdditionCb (DtTcpMsgSocket *sock) |
| virtual void | tcpSocketRemovalCb (DtTcpMsgSocket *sock) |
| virtual unsigned long | consumeConnId () |
| Get and consume Connection ID. | |
| virtual void | preRunLoopEvent () |
| Plug-in defined Run Loop operations Gives users the ability to add functionality to the Run() loop without over-riding it completely. | |
| virtual void | runLoopEvent () |
| virtual void | postRunLoopEvent () |
| virtual bool | populateConnectionInformation (unsigned int &numForwarderToForwarderConns, std::vector< MAKRti::DtString > &forwarderIdentifiers, std::vector< MAKRti::DtString > &forwarderConnectionHostNames, std::vector< MAKRti::DtInetAddr > &forwarderConnectionAddrs, unsigned int &numForwarderClientConns, std::vector< MAKRti::DtString > &clientConnectionHostNames, std::vector< MAKRti::DtInetAddr > &clientConnectionAddrs) const |
| virtual void | closeAllConnectionsIfRequested () |
| Disconnect all open connections. | |
| DtRtiMsgForwarder (const DtRtiMsgForwarder &orig) | |
| Copy Ctor and Assignment Operator unimplemented. | |
| DtRtiMsgForwarder & | operator= (const DtRtiMsgForwarder &orig) |
Protected Attributes | |
| unsigned long | myForwarderId |
| Data Members. | |
| MAKRti::DtInetAddr | myForwarderAddr |
| Local host IP address (used by rtiExec monitor filter, among other uses) | |
| bool | myCloseAllConnectionsRequested |
| Connection shutdown requested? | |
| DtFilteredTcpForwarder * | myTcpForwarder |
| Tcp Forwarder with Filtering Capabilities. | |
| DtTcpMsgSocketMgr * | mySocketMgr |
| Tcp Socket Manager (handles passive connections to Federates) | |
| int | myPort |
| Port for local federate connections. | |
| int | myTcpNoDelay |
| unsigned long | myNextConnectionIdOffset |
| The ID to be assigned to the next Federate or Forwarder connection The IDs are offset from the forwarderId. | |
| unsigned int | myPacketBundleSize |
| Packet Bundle size (if bundle size = 0, bundling is disabled) | |
| DtRtiExecTrackingFilter * | myRtiExecMonitor |
| If registered, Monitors rtiexec connection life-cycle. | |
| DtRoutePrinterFilter * | myRoutePrinter |
| Smart DM Forwarding Filters. | |
| DtInternalRoutePrinterFilter * | myInternalRoutePrinter |
| DtUpdateInterRoutingFilter * | myDmMsgRouter |
| DtInternalRoutingFilter * | myIntMsgRouter |
| DtFedexMsgFilter * | myFedexMsgRouter |
| Fedex Routing Filter. | |
| DtConnectConfirmFilter * | myConnectConfirmFilter |
| Extracts info from connect confirm messages. | |
| DtDeleteSocketFilter * | mySocketMonitor |
| Marks sockets that are being disconnected normally so that no complaint is given when they disconnect versus abnormal disconnect. | |
| const DtRIDParameters & | myParams |
| Local access to the RID Parameters. | |
| DtMulitcastDiscoveryMgr | myMcastDiscoveryMgr |
| DtThreadSafe< std::deque < DtMsgFwdrFunctor * > > | myPendingProxyCommands |
| std::vector< DtMessageFilter * > | myRegisteredFilters |
| Registered Message Filters. | |
| SocketToConnInfoMap | myConnToConnInfoMap |
| Map from socket (conn) to ConnectionInfo object for that connection notes: | |
| std::set< DtTcpMsgSocket const * > | myConnectionsAboutToBeDeleted |
| Set of connections that when deleted there should be no complaint. | |
| MAKRti::DtSelectParamWithWrite | mySelectParams |
| bool | myShouldStop |
| should this forwarder stop. | |
Static Protected Attributes | |
| static DtRtiMsgFwderCreator | theCreator = NULL |
DtRtiMsgForwarder manages connections and message distribution to local federates and remote Forwarders (if any).
It is designed to run as a thread, asynchronous to the main execution.
| typedef DtBoost::shared_ptr<ConnectionInfo> DtRtiMsgForwarder::ConnectionInfoSP |
| typedef DtBoost::weak_ptr<ConnectionInfo> DtRtiMsgForwarder::ConnectionInfoWP |
| typedef std::map< const DtTcpMsgSocket*, ConnectionInfoSP > DtRtiMsgForwarder::SocketToConnInfoMap |
|
protected |
Default Constructor.
References DtRIDParameters::notifyLevel, and setForwarderId().
Referenced by create().
|
virtual |
Destructor.
References myConnectConfirmFilter, myConnToConnInfoMap, myDmMsgRouter, myFedexMsgRouter, myInternalRoutePrinter, myIntMsgRouter, myRoutePrinter, myRtiExecMonitor, mySocketMgr, mySocketMonitor, myTcpForwarder, DtTcpMsgSocketMgr::removeSocketAdditionCallback(), DtTcpMsgSocketMgr::removeSocketRemovalCallback(), tcpSocketAdditionCb(), and tcpSocketRemovalCb().
|
protected |
Copy Ctor and Assignment Operator unimplemented.
|
virtual |
[Un]Register a forwarding filter on incoming packets
References myRegisteredFilters.
Referenced by init(), DtExtendedRtiMsgForwarder::init(), setRouteFedexMessages(), setUseInternalSmartForwarding(), and setUseSmartForwarding().
|
protectedvirtual |
Enable / Disable all filters registered with forwarder.
References DtFilteredTcpForwarder::addPacketFilter(), myRegisteredFilters, and myTcpForwarder.
Referenced by DtExtendedRtiMsgForwarder::applyFilters(), and run().
|
protectedvirtual |
Disconnect all open connections.
References myCloseAllConnectionsRequested, myTcpForwarder, DtTcpMsgSocketMgr::removeAndDelete(), DtTcpForwarder__vl__::socketMgr(), and DtTcpMsgSocketMgr::socketSet().
Referenced by DtExtendedRtiMsgForwarder::getNextMsg(), and run().
|
protectedvirtual |
Get and consume Connection ID.
References myForwarderId, and myNextConnectionIdOffset.
Referenced by tcpSocketAdditionCb().
|
static |
Create an instance of a DtRtiMsgForwarder.
References DtRtiMsgForwarder(), init(), and theCreator.
|
protectedvirtual |
References myRegisteredFilters, myTcpForwarder, and DtFilteredTcpForwarder::removePacketFilter().
Referenced by run().
|
inlinevirtual |
Return the forwarder ID (defines the address space for connIds for this forwarder)
References myForwarderId.
|
virtual |
Get a shared pointer to the connection info for a connection by Conn ID.
References myConnToConnInfoMap.
Referenced by DtFederateTrackingFilter::handleJoinConfirmMsg(), DtFederateTrackingFilter::handleJoinMsg(), DtFederateTrackingFilter::handleJoinResponseMsg(), isConnectionMarkedForDeletion(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), and removeOldConnection().
|
virtual |
Get a shared pointer to the connection info for a connection by Federate Handle.
References myConnToConnInfoMap.
|
virtual |
Get a shared pointer to the connection info for a connection by Socket.
References myConnToConnInfoMap.
Referenced by DtRtiExecTrackingFilter::processReconnectMsg(), DtRtiExecTrackingFilter::processRtiExecConnectMsg(), DtExtendedRtiMsgForwarder::tcpSocketAdditionCb(), and DtExtendedRtiMsgForwarder::tcpSocketRemovalCb().
|
inlinevirtual |
WARNING: These methods are not thread-safe and may only be called by the back-end forwarder thread!
Get a handle to the connection to connId map
References myConnToConnInfoMap.
Referenced by DtLanForwarderPort::populateConnectionInformation().
|
virtual |
Query the rtiExec Handshake monitor for whether it has an exec.
References myRtiExecMonitor, and DtRtiExecTrackingFilter::rtiExecAvailable().
Referenced by DtLanForwarderPort::populateConnectionInformation().
|
virtual |
Initialize the forwarder (called by creator)
Reimplemented in DtExtendedRtiMsgForwarder.
References addPacketFilter(), DtDefaultInterfaceAddr(), DtRIDParameters::enableFedexMsgRouting, enableFedexMsgRouting, DtRIDParameters::internalMsgSmartForwardingWhenUsingRtiexec, DtRIDParameters::maxNumFederates, myConnectConfirmFilter, myForwarderAddr, myParams, myPort, myRtiExecMonitor, mySocketMgr, mySocketMonitor, myTcpForwarder, myTcpNoDelay, DtRIDParameters::networkInterfaceAddr(), performMcastDiscovery(), DtAssistantPopupHelper::popupAssistantMessage(), DtRtiMtdDestinationList::setMaxDestinations(), setRouteFedexMessages(), DtRtiMsg::setSmartForwardingEnabled(), setUseInternalSmartForwarding(), setUseSmartForwarding(), DtRIDParameters::smartForwardingLevel, DtTcpForwarder__vl__::socketMgr(), tcpSocketAdditionCb(), and tcpSocketRemovalCb().
Referenced by create().
|
virtual |
Return boolean: given connection has been marked for deletion?
References getConnectionInfoByConnId(), and myConnectionsAboutToBeDeleted.
Referenced by DtRtiExecTrackingFilter::processDisconnectMsg().
|
virtual |
Mark the given socket as one that is to be deleted silently.
The forwarder won't complain when the given socket disconnects. If known, the socket connection ID should be provided A confirmation message is returned through the socket.
References DtRIDParameters::distributedUdpForwarderMode, myConnectionsAboutToBeDeleted, myParams, sendMessage(), DtRtiMtdTransportType::set(), DtRtiMsg::setFederateHandle(), and DtRtiMsg::setFedEx().
Referenced by DtDeleteSocketFilter::handleDeleteSocketMsg().
|
protected |
|
protectedvirtual |
References DtMulitcastDiscoveryMgr::discover(), DtIsIpOfLocalInterface(), DtRIDParameters::getFullPathToRidFile(), DtMulitcastDiscoveryMgr::init(), myMcastDiscoveryMgr, myParams, DtAssistantPopupHelper::popupAssistantMessage(), DtRIDParameters::tcpForwarderAddr(), and DtRIDParameters::tcpForwarderAddrString().
Referenced by init().
|
protectedvirtual |
References DtGetLocalHostName(), myForwarderAddr, and myForwarderId.
|
inlineprotectedvirtual |
Referenced by run().
|
inlineprotectedvirtual |
Plug-in defined Run Loop operations Gives users the ability to add functionality to the Run() loop without over-riding it completely.
Referenced by run().
|
virtual |
Remove the socket specified by the given connection.
Used by reconnect to clean up orphaned sockets where client detected break but server has not.
References DtMsgSocket::descriptor(), getConnectionInfoByConnId(), myConnectionsAboutToBeDeleted, myConnToConnInfoMap, and mySelectParams.
Referenced by DtRtiExecTrackingFilter::processReconnectMsg().
|
virtual |
References myRegisteredFilters.
Referenced by DtExtendedRtiMsgForwarder::init(), and DtExtendedRtiMsgForwarder::~DtExtendedRtiMsgForwarder().
|
virtual |
Disconnect all open connections after this pass through run-loop completes.
References myCloseAllConnectionsRequested.
Referenced by DtRtiExecTrackingFilter::processRtiExecDisconnectMsg().
|
virtual |
Disconnect the requestedTcpSocket.
Introduced so that the rtiExecTrackingFilter can have connections deleted. The alternative is that the myTcpForwarder be made publicly accessible. Filter will call this on sockets from which it receives rtiExecReconnectMsgs when it is still connected to the rtiExec, and connect and disconnect messages from the exec when we are still connected and are not connected to the rtiExec respectively.
References DtTcpMsgSocket::destination(), myTcpForwarder, DtTcpMsgSocketMgr::removeAndDelete(), and DtTcpForwarder__vl__::socketMgr().
|
virtual |
Is the rtiexec connected and if so what is its connId?
References myRtiExecMonitor, DtRtiExecTrackingFilter::rtiExecAvailable(), and DtRtiExecTrackingFilter::rtiExecConnId().
|
virtual |
Main execution routine.
References applyRegisteredFilters(), closeAllConnectionsIfRequested(), disableRegisteredFilters(), myMcastDiscoveryMgr, myParams, myRtiExecMonitor, mySocketMgr, myTcpForwarder, postRunLoopEvent(), preRunLoopEvent(), DtTcpMsgSocketMgr::processConnections(), DtRtiExecTrackingFilter::processTimeout(), DtFilteredTcpForwarder::readAndForward(), runLoopEvent(), shouldStop(), DtMulitcastDiscoveryMgr::tick(), and waitForIo().
|
inlineprotectedvirtual |
Referenced by run().
|
virtual |
Send a message to all local sockets (filters will be applied)
References DtRIDParameters::distributedUdpForwarderMode, DtFilteredTcpForwarder::filterAndSend(), myParams, myTcpForwarder, and DtRtiMtdTransportType::set().
Referenced by markConnectionAsAboutToBeDeleted(), DtRtiExecTrackingFilter::processDisconnectMsg(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processReconnectMsg(), DtRtiExecTrackingFilter::processTimeout(), and tcpSocketRemovalCb().
|
static |
Call this function to set an alternate creator function With this function, users can replace this DtRtiMsgForwarder with their own derived class.
References DtBindCreator(), and theCreator.
|
virtual |
Get the rtiexec's socket if known.
Enable Message Bundling optimization
References DtTcpMsgSocketMgr::enableBundling(), and mySocketMgr.
|
virtual |
set the forwarder ID.
References myForwarderId.
Referenced by DtRtiMsgForwarder(), and DtLanForwarderPort::setForwarderId().
|
virtual |
Enable Smart Fedex Message Filtering.
References addPacketFilter(), myFedexMsgRouter, and myRtiExecMonitor.
Referenced by init().
|
virtual |
Enable Smart DM Subscription Filtering for internal messages.
References addPacketFilter(), myConnToConnInfoMap, myInternalRoutePrinter, and myIntMsgRouter.
Referenced by init().
|
virtual |
Enable Smart DM Subscription Filtering.
References addPacketFilter(), myConnToConnInfoMap, myDmMsgRouter, and myRoutePrinter.
Referenced by init().
|
virtual |
should this forwarder stop.
References myShouldStop.
Referenced by DtLanForwarderPort::checkConnectionStatus(), and run().
|
virtual |
Shutdown the forwarder application.
Triggered by the rtiExec sending a forwarderShutdown message to the RTI Forwarder.
References myShouldStop.
Referenced by DtRtiExecTrackingFilter::processShutdownMsg().
|
static |
Callbacks on addition/removal of TCP sockets.
References tcpSocketAdditionCb().
Referenced by init(), tcpSocketAdditionCb(), and ~DtRtiMsgForwarder().
|
protectedvirtual |
Reimplemented in DtExtendedRtiMsgForwarder.
References consumeConnId(), DtMsgSocket::descriptor(), DtTcpMsgSocket::destination(), DtRIDParameters::distributedUdpForwarderMode, myConnToConnInfoMap, myForwarderAddr, myParams, mySelectParams, DtTcpMsgSocket::sendMessage(), DtRtiMtdTransportType::set(), DtConnectMsg::setConnectionHandle(), DtRtiMsg::setFederateHandle(), and DtRtiMsg::setFedEx().
|
static |
References tcpSocketRemovalCb().
Referenced by init(), tcpSocketRemovalCb(), and ~DtRtiMsgForwarder().
|
protectedvirtual |
Reimplemented in DtExtendedRtiMsgForwarder.
References DtMsgSocket::descriptor(), myConnectionsAboutToBeDeleted, myConnToConnInfoMap, myRtiExecMonitor, mySelectParams, DtRtiExecTrackingFilter::rtiExecConnId(), sendMessage(), DtConnectMsg::setConnectionHandle(), DtRtiMsg::setFederateHandle(), and DtRtiMsg::setFedEx().
|
virtual |
Set a connections process information.
References myConnToConnInfoMap.
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg().
|
virtual |
Set a locally connected federate's connId in the associated connection info struct.
This should only need to be invoked when the forwarder is part of the federate's Forwarder Group, but not its primary forwarder.
References myConnToConnInfoMap.
Referenced by DtLanForwarderPort::updateFederateConnectionId().
| void DtRtiMsgForwarder::updateTcpForwarderQueuedSockets | ( | ) |
update the tcp forwarders queued sockets
References myTcpForwarder, and DtFilteredTcpForwarder::updateQueuedSockets().
Referenced by DtLanForwarderPort::flush().
|
protectedvirtual |
Wait on sockets for next IO event (allows RTIspy users to control the wait mechanism and period)
References DtMsgSocket::descriptor(), DtTcpMsgSocket::flush(), mySelectParams, mySocketMgr, and DtTcpMsgSocketMgr::socketSet().
Referenced by run().
|
protected |
Connection shutdown requested?
Referenced by closeAllConnectionsIfRequested(), and requestCloseAllConnections().
|
protected |
Extracts info from connect confirm messages.
Referenced by init(), and ~DtRtiMsgForwarder().
|
protected |
Set of connections that when deleted there should be no complaint.
Referenced by isConnectionMarkedForDeletion(), markConnectionAsAboutToBeDeleted(), removeOldConnection(), and tcpSocketRemovalCb().
|
protected |
Map from socket (conn) to ConnectionInfo object for that connection notes:
Referenced by getConnectionInfoByConnId(), getConnectionInfoByHandle(), getConnectionInfoBySocket(), getConnToConnInfoMap(), DtExtendedRtiMsgForwarder::init(), removeOldConnection(), setUseInternalSmartForwarding(), setUseSmartForwarding(), tcpSocketAdditionCb(), tcpSocketRemovalCb(), updateConnectionProcessParameters(), updateFederateConnectionId(), and ~DtRtiMsgForwarder().
|
protected |
Referenced by setUseSmartForwarding(), and ~DtRtiMsgForwarder().
|
protected |
Fedex Routing Filter.
Referenced by DtExtendedRtiMsgForwarder::init(), setRouteFedexMessages(), and ~DtRtiMsgForwarder().
|
protected |
Local host IP address (used by rtiExec monitor filter, among other uses)
Referenced by init(), DtExtendedRtiMsgForwarder::init(), populateConnectionInformation(), and tcpSocketAdditionCb().
|
protected |
Data Members.
Address space for connection IDs for this LAN (required to differentiate when there are multiple forwarders)
Referenced by consumeConnId(), forwarderId(), populateConnectionInformation(), and setForwarderId().
|
protected |
Referenced by setUseInternalSmartForwarding(), and ~DtRtiMsgForwarder().
|
protected |
Referenced by setUseInternalSmartForwarding(), and ~DtRtiMsgForwarder().
|
protected |
Referenced by DtExtendedRtiMsgForwarder::getNextMsg(), performMcastDiscovery(), and run().
|
protected |
The ID to be assigned to the next Federate or Forwarder connection The IDs are offset from the forwarderId.
Referenced by consumeConnId().
|
protected |
Packet Bundle size (if bundle size = 0, bundling is disabled)
|
protected |
Local access to the RID Parameters.
Referenced by DtExtendedRtiMsgForwarder::getNextMsg(), init(), DtExtendedRtiMsgForwarder::init(), markConnectionAsAboutToBeDeleted(), performMcastDiscovery(), run(), DtExtendedRtiMsgForwarder::sendBestEffort(), sendMessage(), DtExtendedRtiMsgForwarder::sendMessageToWan(), and tcpSocketAdditionCb().
|
protected |
|
protected |
Port for local federate connections.
Referenced by init(), and DtExtendedRtiMsgForwarder::init().
|
protected |
Registered Message Filters.
Referenced by addPacketFilter(), applyRegisteredFilters(), disableRegisteredFilters(), and removePacketFilter().
|
protected |
Smart DM Forwarding Filters.
Referenced by setUseSmartForwarding(), and ~DtRtiMsgForwarder().
|
protected |
If registered, Monitors rtiexec connection life-cycle.
Referenced by DtExtendedRtiMsgForwarder::addExecConnectionEstablishedCb(), DtExtendedRtiMsgForwarder::addExecConnectionLostCb(), DtExtendedRtiMsgForwarder::getNextMsg(), hasExec(), init(), DtExtendedRtiMsgForwarder::init(), DtExtendedRtiMsgForwarder::removeExecConnectionEstablishedCb(), DtExtendedRtiMsgForwarder::removeExecConnectionLostCb(), rtiExecConnected(), run(), setRouteFedexMessages(), tcpSocketRemovalCb(), and ~DtRtiMsgForwarder().
|
protected |
Referenced by removeOldConnection(), tcpSocketAdditionCb(), tcpSocketRemovalCb(), and waitForIo().
|
protected |
should this forwarder stop.
Referenced by shouldStop(), and shutdownRequestedByExec().
|
protected |
Tcp Socket Manager (handles passive connections to Federates)
Referenced by DtExtendedRtiMsgForwarder::getNextMsg(), init(), run(), setEnableBundling(), waitForIo(), and ~DtRtiMsgForwarder().
|
protected |
Marks sockets that are being disconnected normally so that no complaint is given when they disconnect versus abnormal disconnect.
Referenced by init(), and ~DtRtiMsgForwarder().
|
protected |
Tcp Forwarder with Filtering Capabilities.
Referenced by applyRegisteredFilters(), closeAllConnectionsIfRequested(), disableRegisteredFilters(), DtExtendedRtiMsgForwarder::getNextMsg(), init(), requestKillSingleConnection(), run(), sendMessage(), DtExtendedRtiMsgForwarder::sendToAllReliable(), updateTcpForwarderQueuedSockets(), and ~DtRtiMsgForwarder().
|
protected |
Referenced by init().
|
staticprotected |
Referenced by create(), and setCreatorFunction().