MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtNetworkMapRspMsg Class Reference
+ Inheritance diagram for DtNetworkMapRspMsg:
+ Collaboration diagram for DtNetworkMapRspMsg:

List of all members.

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 DtRtiMsgclone (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 DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static DtRtiMsgcreate (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 DtNetNetworkMapRspMsgnetNetworkMapRspMsg ()
 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.

Constructor & Destructor Documentation

DtNetworkMapRspMsg::DtNetworkMapRspMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().

Referenced by clone(), and create().

DtNetworkMapRspMsg::DtNetworkMapRspMsg ( unsigned long  sourceId,
unsigned long  requestorId,
const MAKRti::DtString &  xml,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtNetworkMapRspMsg::DtNetworkMapRspMsg ( const DtNetNetworkMapRspMsg netRep,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

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().

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().

const DtNetNetworkMapRspMsg * DtNetworkMapRspMsg::netNetworkMapRspMsg ( ) const [protected, virtual]
const MAKRti::DtString & DtNetworkMapRspMsg::payload ( ) const [virtual]
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]
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]
void DtNetworkMapRspMsg::setRequestorId ( unsigned long  connId) [virtual]
void DtNetworkMapRspMsg::setSourceId ( unsigned long  connId) [virtual]
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().


Member Data Documentation

MAKRti::DtString DtNetworkMapRspMsg::myXmlResponse [protected]

Network Map XML response data.

Referenced by DtNetworkMapRspMsg(), payload(), and setPayload().


The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)