11 #ifndef DtRtiExecHandshakeProcessor_H_
12 #define DtRtiExecHandshakeProcessor_H_
19 #include <vlutil/vlUtil.h>
93 static int lostConnection(
const MAKRti::DtString& connName,
const MAKRti::DtString& hostName,
94 unsigned int connID,
const std::pair<DtInetAddrAndPort, DtInetAddrAndPort>& connAddr,
void* usr);
99 virtual int lostConnection(
const MAKRti::DtString& connName,
const MAKRti::DtString& hostName,
100 unsigned int connID,
const std::pair<DtInetAddrAndPort, DtInetAddrAndPort>& connAddr);
105 DtHandle src,
DtHandle dest,
const MAKRti::DtString& hostName,
bool fullyCompliant,
131 destinationHandle( 0 ),
134 pendingOutResponses(),
135 pendingLanResponses() {}
142 destinationHandle( destHandle ),
143 sourceHandle( srcHandle ),
144 sourceAddress( src ),
145 pendingOutResponses( expectedOutResponses ),
146 pendingLanResponses( expectedLanResponses ) {}
Simple message processing filter which monitors the connection to the rtiexec It catches rtiexec conn...
Definition: rtiExecConnectionFilter.h:27
std::set< unsigned int > DtConnIdList
Definition: rtiExecHandshakeProcessor.h:119
std::pair< MAKRti::DtInetAddr, int > DtInetAddrAndPort
Definition: rtiUtil.h:147
Definition: execDisconnectMsg.h:21
DtRtiExecConnectionFilter< DtRtiExecHandshakeProcessor > * myRtiExecConnectionFilter
Definition: rtiExecHandshakeProcessor.h:162
bool myHaveConnectionIdOfLocalRtiExec
Definition: rtiExecHandshakeProcessor.h:172
DtHandle sourceHandle
Definition: rtiExecHandshakeProcessor.h:150
Simple helper class to hold status of pending rtiexec Handshakes.
Definition: rtiExecHandshakeProcessor.h:124
DtHandle destinationHandle
Definition: rtiExecHandshakeProcessor.h:149
DtConnIdToRequestMap myPendingRequests
Map of outstanding rtiexec Requests to Responses.
Definition: rtiExecHandshakeProcessor.h:168
std::map< unsigned int, PendingRequest > DtConnIdToRequestMap
Definition: rtiExecHandshakeProcessor.h:121
DtBoost::shared_ptr< DtForwarderNode > myParent
Definition: rtiExecHandshakeProcessor.h:159
The DtRtiExecHandshakeProcessor class consists of filters for RtiExecHandshake messages for all three...
Definition: rtiExecHandshakeProcessor.h:37
DtRouteMap::DtAddressPortList DtAddressPortList
Definition: forwarderPort.h:51
DtHandshakeStatus
Definition: execHandshakeMsg.h:26
DtInetAddrAndPort sourceAddress
Definition: rtiExecHandshakeProcessor.h:151
unsigned long myConnectionIdOfLocalRtiExec
If valid, this represents the connID of a local exec.
Definition: rtiExecHandshakeProcessor.h:171
Definition: execConnectMsg.h:25
std::set< unsigned int > DtConnIdList
Definition: rtiExecHandshakeProcessor.h:127
DtRtiExecHandshakeFilter * myMsgToLanFilter
Definition: rtiExecHandshakeProcessor.h:160
Simple message processing filter which forwards rtiexec handshake messages to its parent handshake pr...
Definition: rtiExecHandshakeFilter.h:25
PendingRequest(const DtInetAddrAndPort &src, DtHandle destHandle, DtHandle srcHandle, const DtRouteMap::DtAddressPortList &expectedOutResponses, const DtConnIdList &expectedLanResponses)
Definition: rtiExecHandshakeProcessor.h:137
DtConnIdList myLocalRtiExecConnIds
List of local rtiexec Candidates.
Definition: rtiExecHandshakeProcessor.h:165
DtRtiExecHandshakeMsg::DtHandshakeStatus currentStatus
Definition: rtiExecHandshakeProcessor.h:148
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:25
DtRtiExecHandshakeFilter * myMsgToOutFilter
Definition: rtiExecHandshakeProcessor.h:161
PendingRequest()
Definition: rtiExecHandshakeProcessor.h:129
Definition: execHandshakeMsg.h:23
DtConnIdList pendingLanResponses
Definition: rtiExecHandshakeProcessor.h:153
#define DT_DLL_FORWARDER
Definition: rtiMsConfig.h:124
DtRouteMap::DtAddressPortList pendingOutResponses
Definition: rtiExecHandshakeProcessor.h:152
std::vector< DtInetAddrAndPort > DtAddressPortList
Definition: routeMap.h:59