11 #ifndef DtLanForwarderPort_H_
12 #define DtLanForwarderPort_H_
34 DtBoost::shared_ptr<DtRouteMap> routes,
35 const MAKRti::DtInetAddr& host,
37 const MAKRti::DtInetEndpoint& forwardertoConnectTo );
61 virtual inline bool flush();
70 virtual void selectParams( MAKRti::DtSelectParamWithWrite& selectParams );
101 unsigned long final );
106 virtual bool populateConnectionInformation(
107 unsigned int& numForwarderClientConns,
108 unsigned int& numForwarderExecConns,
109 std::vector<MAKRti::DtString>& clientConnectionHostNames,
110 std::vector<MAKRti::DtInetAddr>& clientConnectionAddrs)
const;
116 const DtBoost::shared_ptr<DtRouteMap> routes,
117 const MAKRti::DtInetAddr& host,
119 const MAKRti::DtInetEndpoint& forwardertoConnectTo );
124 static void setCreatorFunction( DtForwarderPortCreatorFcn creator );
std::pair< MAKRti::DtInetAddr, int > DtInetAddrAndPort
Definition: rtiUtil.h:147
Definition: extendedRtiMsgForwarder.h:30
virtual void setForwarderId(unsigned long id)
Set forwarder ID.
Definition: forwarderPort.h:357
bool myIsReady
Definition: lanForwarderPort.h:138
virtual DtAddressPortList connections() const =0
Get the list of all current connections to this port.
The DtForwarderPort is an Abstract Base Class which provides the interface to a collection of connect...
Definition: forwarderPort.h:35
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
Helper class captures DtNetJoinResponseMsg Messages and maps the associated federate ID to the connId...
Definition: federateTrackingFilter.h:23
virtual void updateRoutes()=0
Handle changes to the Routing map.
Definition: forwarderPort.h:44
virtual void dropMulticastGroup(const MAKRti::DtInetAddr &mcastAddr)=0
Listen / drop multicast groups (LAN-port-only)
virtual void clearNeededConnections()=0
Clear the list of connections that this forwarder needs to establish.
std::pair< DtInetAddrAndPort, DtForwarderMsg > DtAddressMsgPair
Definition: forwarderPort.h:56
DtRouteMap::DtAddressPortList DtAddressPortList
Definition: forwarderPort.h:51
virtual void sendToAllReliable(const DtForwarderMsg &msg) const =0
Send a message to all available destinations.
The DtForwarderPort is an Abstract Base Class which provides the interface to a collection of connect...
Definition: lanForwarderPort.h:28
virtual bool isReady() const =0
Is the Port fully usable and available?
Definition: routeMap.h:41
virtual int checkConnectionStatus(const DtInetAddrAndPort *target=0)=0
Test for lost connections - returns true if targeted connection is active or, if no target specified...
virtual unsigned int pendingConnectionsAborted()=0
Return count of aborted connections.
static DtForwarderPortCreatorFcn theCreator
Definition: lanForwarderPort.h:142
virtual void sendToListReliable(const DtForwarderMsg &msg, const DtRouteMap::DtAddressPortList &destinations) const =0
Send a message to the specified list of destinations excluding the list of filtered destinations...
virtual void selectParams(MAKRti::DtSelectParamWithWrite &selectParams)=0
Add this port's current select() notification set to the passed set.
virtual void sendByTransport(const DtForwarderMsg &msg) const =0
Check transport metadata and send message to appropriate socket(s)
const DtRIDParameters * myParams
Definition: lanForwarderPort.h:136
DtExtendedRtiMsgForwarder * myForwarder
Definition: lanForwarderPort.h:137
#define DT_DLL_FORWARDER
Definition: rtiMsConfig.h:124
virtual bool updateFederateConnectionId(unsigned long orig, unsigned long final)=0
Update locally connected federate connection ID (LAN-port-only)
virtual bool flush()
Flush any unsent/buffered packets; return true if flush sent data.
Definition: forwarderPort.h:351
virtual void listenToMulticastGroup(const MAKRti::DtInetAddr &mcastAddr)=0
Listen / drop multicast groups (LAN-port-only)
virtual DtAddressMsgPair getNextMsg()=0
Get the next message to forward and the source connection.
virtual unsigned int abortPendingConnections()=0
Abort any embryonic connections.