![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtRtiExecHandshakeMsg:
Collaboration diagram for DtRtiExecHandshakeMsg:Public Types | |
| enum | DtHandshakeStatus { HsRequest = 0, HsResponseGranted, HsResponseDenied } |
Public Member Functions | |
| DtRtiExecHandshakeMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRtiExecHandshakeMsg (const DtNetExecHandshakeMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtRtiExecHandshakeMsg (DtHandle srcHandle, DtHandle destHandle, DtHandshakeStatus hsStatus, MAKRti::DtString sourceHostName, bool fullyCompliant, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtRtiExecHandshakeMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtHandle srcHandle, DtHandle destHandle, DtHandshakeStatus hsStatus, MAKRti::DtString sourceHost, bool fullyCompliant) |
| Set all fields simultaneously. | |
| virtual DtHandle | srcConnectionHandle () const |
| Set/get Source connection handle. | |
| virtual void | setSrcConnectionHandle (DtHandle handle) |
| virtual DtHandle | destConnectionHandle () const |
| Set/get Destination connection handle. | |
| virtual void | setDestConnectionHandle (DtHandle handle) |
| virtual MAKRti::DtString | sourceHostName () const |
| virtual DtHandshakeStatus | handshakeStatus () const |
| Set/get handshake status field. | |
| virtual void | setHandshakeStatus (DtHandshakeStatus hsStatus) |
| virtual bool | fullyCompliant () const |
| Set/get fully compliant setting. | |
| virtual void | setFullyCompliant (bool fullComplianceEnabled) |
| virtual void | printData (DtLogicalTimeFactory *logicalTimeFactory) const |
| Print the data section. | |
Static Public Member Functions | |
| static DtRtiMsg * | create (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static DtRtiMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| static void | addCallback (DtConnectionMgr *conn, DtRtiExecHsCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtRtiExecHsCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetExecHandshakeMsg * | netExecHandshakeMsg () |
| The network representation. | |
| virtual const DtNetExecHandshakeMsg * | netExecHandshakeMsg () const |
| virtual char * | sourceHostNamePtr () |
| virtual const char * | sourceHostNamePtr () const |
| virtual int | sourceHostNameSize () const |
| virtual void | setSourceHostName (const MAKRti::DtString &hostName) |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Connect Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtRtiExecHandshakeMsg * | self () const |
| Casts away const-ness. | |
| DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg | ( | const DtNetExecHandshakeMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetExecHandshakeMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtRtiExecHandshakeMsg::DtRtiExecHandshakeMsg | ( | DtHandle | srcHandle, |
| DtHandle | destHandle, | ||
| DtHandshakeStatus | hsStatus, | ||
| MAKRti::DtString | sourceHostName, | ||
| bool | fullyCompliant, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References fullyCompliant(), DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and sourceHostName().
| DtRtiExecHandshakeMsg::~DtRtiExecHandshakeMsg | ( | ) | [virtual] |
Destructor.
| void DtRtiExecHandshakeMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtRtiExecHsCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtRtiExecHandshakeMsgKind.
Referenced by DtRtiExec::DtRtiExec().
| DtRtiMsg * DtRtiExecHandshakeMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtRtiExecHandshakeMsg(), and netExecHandshakeMsg().
| DtRtiMsg * DtRtiExecHandshakeMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtRtiExecHandshakeMsg().
| DtRtiMsg * DtRtiExecHandshakeMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtRtiExecHandshakeMsg().
| DtHandle DtRtiExecHandshakeMsg::destConnectionHandle | ( | ) | const [virtual] |
Set/get Destination connection handle.
References DtNetExecHandshakeMsg::destConnectionId, and netExecHandshakeMsg().
Referenced by DtRtiExecHandshakeProcessor::gotMsgToLanPort(), printData(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecHandshakeProcessor::processInToOutMsg(), DtRtiExecHandshakeProcessor::processLanToOutMsg(), and DtRtiExec::processRtiExecHandshakeMsg().
| bool DtRtiExecHandshakeMsg::fullyCompliant | ( | ) | const [virtual] |
Set/get fully compliant setting.
References DtNetExecHandshakeMsg::fullyCompliant, and netExecHandshakeMsg().
Referenced by DtRtiExecHandshakeMsg(), DtRtiExecHandshakeProcessor::gotMsgToLanPort(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processHandshakeMsg(), DtRtiExecHandshakeProcessor::processInToOutMsg(), and DtRtiExecHandshakeProcessor::processLanToOutMsg().
| DtRtiExecHandshakeMsg::DtHandshakeStatus DtRtiExecHandshakeMsg::handshakeStatus | ( | ) | const [virtual] |
Set/get handshake status field.
References DtNetExecHandshakeMsg::handshakeStatus, and netExecHandshakeMsg().
Referenced by DtRtiExecHandshakeProcessor::gotMsgToLanPort(), printData(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processHandshakeMsg(), DtRtiExecHandshakeProcessor::processInToOutMsg(), DtRtiExecHandshakeProcessor::processLanToOutMsg(), and DtRtiExec::processRtiExecHandshakeMsg().
| DtRtiMsgKind DtRtiExecHandshakeMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Connect Msg.
Implements DtRtiMsg.
References DtRtiExecHandshakeMsgKind.
Referenced by DtRtiExecHandshakeMsg().
| int DtRtiExecHandshakeMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtRtiExecHandshakeMsg().
| DtNetExecHandshakeMsg * DtRtiExecHandshakeMsg::netExecHandshakeMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), destConnectionHandle(), fullyCompliant(), handshakeStatus(), setDestConnectionHandle(), setFullyCompliant(), setHandshakeStatus(), setSourceHostName(), setSrcConnectionHandle(), sourceHostNamePtr(), sourceHostNameSize(), and srcConnectionHandle().
| const DtNetExecHandshakeMsg * DtRtiExecHandshakeMsg::netExecHandshakeMsg | ( | ) | const [protected, virtual] |
| void DtRtiExecHandshakeMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References destConnectionHandle(), handshakeStatus(), HsRequest, HsResponseDenied, HsResponseGranted, srcConnectionHandle(), and DtRtiMsg::status().
| void DtRtiExecHandshakeMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtRtiExecHsCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtRtiExecHandshakeMsgKind, and DtConnectionMgr::removeMsgCallback().
| DtRtiExecHandshakeMsg * DtRtiExecHandshakeMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtRtiExecHandshakeMsg::set | ( | DtHandle | srcHandle, |
| DtHandle | destHandle, | ||
| DtHandshakeStatus | hsStatus, | ||
| MAKRti::DtString | sourceHost, | ||
| bool | fullyCompliant | ||
| ) | [virtual] |
Set all fields simultaneously.
References setDestConnectionHandle(), setFullyCompliant(), setHandshakeStatus(), setSourceHostName(), and setSrcConnectionHandle().
Referenced by DtRtiExec::sendRtiExecHandshakeMsg().
| void DtRtiExecHandshakeMsg::setDestConnectionHandle | ( | DtHandle | handle | ) | [virtual] |
References DtNetExecHandshakeMsg::destConnectionId, and netExecHandshakeMsg().
Referenced by set().
| void DtRtiExecHandshakeMsg::setFullyCompliant | ( | bool | fullComplianceEnabled | ) | [virtual] |
References DtNetExecHandshakeMsg::fullyCompliant, and netExecHandshakeMsg().
Referenced by set().
| void DtRtiExecHandshakeMsg::setHandshakeStatus | ( | DtHandshakeStatus | hsStatus | ) | [virtual] |
References DtNetExecHandshakeMsg::handshakeStatus, and netExecHandshakeMsg().
Referenced by set().
| void DtRtiExecHandshakeMsg::setSourceHostName | ( | const MAKRti::DtString & | hostName | ) | [protected, virtual] |
References rti1516e::insertBytes(), netExecHandshakeMsg(), sourceHostNamePtr(), DtNetExecHandshakeMsg::sourceHostnameSize, and sourceHostNameSize().
Referenced by set().
| void DtRtiExecHandshakeMsg::setSrcConnectionHandle | ( | DtHandle | handle | ) | [virtual] |
References netExecHandshakeMsg(), and DtNetExecHandshakeMsg::srcConnectionId.
Referenced by set().
| MAKRti::DtString DtRtiExecHandshakeMsg::sourceHostName | ( | ) | const [virtual] |
References sourceHostNamePtr(), and sourceHostNameSize().
Referenced by DtRtiExecHandshakeMsg(), DtRtiExecHandshakeProcessor::gotMsgToLanPort(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processHandshakeMsg(), DtRtiExecHandshakeProcessor::processInToOutMsg(), and DtRtiExecHandshakeProcessor::processLanToOutMsg().
| char * DtRtiExecHandshakeMsg::sourceHostNamePtr | ( | ) | [protected, virtual] |
References netExecHandshakeMsg().
Referenced by setSourceHostName(), and sourceHostName().
| const char * DtRtiExecHandshakeMsg::sourceHostNamePtr | ( | ) | const [protected, virtual] |
References netExecHandshakeMsg().
| int DtRtiExecHandshakeMsg::sourceHostNameSize | ( | ) | const [protected, virtual] |
References netExecHandshakeMsg(), and DtNetExecHandshakeMsg::sourceHostnameSize.
Referenced by setSourceHostName(), and sourceHostName().
| DtHandle DtRtiExecHandshakeMsg::srcConnectionHandle | ( | ) | const [virtual] |
Set/get Source connection handle.
References netExecHandshakeMsg(), and DtNetExecHandshakeMsg::srcConnectionId.
Referenced by DtRtiExecHandshakeProcessor::gotMsgToLanPort(), printData(), DtRtiExecDistributedTrackingFilter::processHandshakeMsg(), DtRtiExecTrackingFilter::processHandshakeMsg(), DtRtiExecHandshakeProcessor::processInToOutMsg(), DtRtiExecHandshakeProcessor::processLanToOutMsg(), and DtRtiExec::processRtiExecHandshakeMsg().