![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtNetworkMapRspMsg:
Collaboration diagram for DtNetworkMapRspMsg:Public Member Functions | |
| DtNetworkMapRspMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtNetworkMapRspMsg (unsigned long sourceId, unsigned long requestorId, const MAKRti::DtString &xml, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtNetworkMapRspMsg (const DtNetNetworkMapRspMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtNetworkMapRspMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual unsigned long | sourceId () const |
| Set/Get source connection handle for the source of the current hop in the overall request. | |
| virtual void | setSourceId (unsigned long connId) |
| virtual unsigned long | requestorId () const |
| Set/Get originating requestor connection handle - this is essentially a unique ID for the request ( there may be multiple intermediate requests in flight from the same source, but only one request at a time per requestor) | |
| virtual void | setRequestorId (unsigned long connId) |
| virtual const MAKRti::DtString & | payload () const |
| Set/Get the payload data. | |
| virtual void | setPayload (const MAKRti::DtString &xml) |
| 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, DtNetworkMapResponseCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtNetworkMapResponseCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetNetworkMapRspMsg * | netNetworkMapRspMsg () |
| The network representation. | |
| virtual const DtNetNetworkMapRspMsg * | netNetworkMapRspMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an DtNetworkMapRspMsg Msg. | |
| virtual char * | netMsgPayload () |
| Get a pointer to the message payload. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
Protected Attributes | |
| MAKRti::DtString | myXmlResponse |
| Network Map XML response data. | |
| DtNetworkMapRspMsg::DtNetworkMapRspMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtNetworkMapRspMsg::DtNetworkMapRspMsg | ( | unsigned long | sourceId, |
| unsigned long | requestorId, | ||
| const MAKRti::DtString & | xml, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setPayload(), setRequestorId(), and setSourceId().
| DtNetworkMapRspMsg::DtNetworkMapRspMsg | ( | const DtNetNetworkMapRspMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetNetworkMapRspMsg::header, DtRtiMsg::initDtRtiMsg(), myXmlResponse, netMsgPayload(), and netNetworkMapRspMsg().
| DtNetworkMapRspMsg::~DtNetworkMapRspMsg | ( | ) | [virtual] |
Destructor.
| void DtNetworkMapRspMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtNetworkMapResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtNetworkMapRspMsgKind.
| DtRtiMsg * DtNetworkMapRspMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtNetworkMapRspMsg(), and netNetworkMapRspMsg().
| DtRtiMsg * DtNetworkMapRspMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtNetworkMapRspMsg().
| DtRtiMsg * DtNetworkMapRspMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtNetworkMapRspMsg().
| DtRtiMsgKind DtNetworkMapRspMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an DtNetworkMapRspMsg Msg.
Implements DtRtiMsg.
References DtNetworkMapRspMsgKind.
Referenced by DtNetworkMapRspMsg().
| int DtNetworkMapRspMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtNetworkMapRspMsg().
| char * DtNetworkMapRspMsg::netMsgPayload | ( | ) | [protected, virtual] |
Get a pointer to the message payload.
References netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::payloadLength.
Referenced by DtNetworkMapRspMsg(), and setPayload().
| DtNetNetworkMapRspMsg * DtNetworkMapRspMsg::netNetworkMapRspMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), DtNetworkMapRspMsg(), netMsgPayload(), requestorId(), setPayload(), setRequestorId(), setSourceId(), and sourceId().
| const DtNetNetworkMapRspMsg * DtNetworkMapRspMsg::netNetworkMapRspMsg | ( | ) | const [protected, virtual] |
| const MAKRti::DtString & DtNetworkMapRspMsg::payload | ( | ) | const [virtual] |
Set/Get the payload data.
References myXmlResponse.
Referenced by printData(), DtNetworkMapProcessor::processInToOutRspMsg(), DtNetworkMapProcessor::processLanToOutRspMsg(), DtRtiexecObserverForWebService::processNetworkMapRespMsg(), and DtForwarderWebManager::requestComplete().
| void DtNetworkMapRspMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References payload(), requestorId(), and sourceId().
| void DtNetworkMapRspMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtNetworkMapResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtNetworkMapRspMsgKind, and DtConnectionMgr::removeMsgCallback().
| unsigned long DtNetworkMapRspMsg::requestorId | ( | ) | const [virtual] |
Set/Get originating requestor connection handle - this is essentially a unique ID for the request ( there may be multiple intermediate requests in flight from the same source, but only one request at a time per requestor)
References netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::requestorId.
Referenced by printData(), DtNetworkMapProcessor::processInToOutRspMsg(), DtNetworkMapProcessor::processLanToOutRspMsg(), and DtRtiexecObserverForWebService::processNetworkMapRespMsg().
| void DtNetworkMapRspMsg::setPayload | ( | const MAKRti::DtString & | xml | ) | [virtual] |
References rti1516e::insertBytes(), myXmlResponse, netMsgPayload(), netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::payloadLength.
Referenced by DtNetworkMapRspMsg().
| void DtNetworkMapRspMsg::setRequestorId | ( | unsigned long | connId | ) | [virtual] |
References netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::requestorId.
Referenced by DtNetworkMapRspMsg().
| void DtNetworkMapRspMsg::setSourceId | ( | unsigned long | connId | ) | [virtual] |
References netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::sourceId.
Referenced by DtNetworkMapRspMsg().
| unsigned long DtNetworkMapRspMsg::sourceId | ( | ) | const [virtual] |
Set/Get source connection handle for the source of the current hop in the overall request.
References netNetworkMapRspMsg(), and DtNetNetworkMapRspMsg::sourceId.
Referenced by printData(), and DtNetworkMapProcessor::processInToOutRspMsg().
MAKRti::DtString DtNetworkMapRspMsg::myXmlResponse [protected] |
Network Map XML response data.
Referenced by DtNetworkMapRspMsg(), payload(), and setPayload().