![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtConnectConfirmMsg:
Collaboration diagram for DtConnectConfirmMsg:Public Member Functions | |
| DtConnectConfirmMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtConnectConfirmMsg (const DtNetConnectConfirmMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtConnectConfirmMsg (DtHandle origHandle, DtHandle finalHandle, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtConnectConfirmMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtHandle origHandle, DtHandle finalHandle) |
| Set all fields simultaneously. | |
| virtual DtHandle | origConnectionHandle () const |
| Set get original connection handle. | |
| virtual void | setOrigConnectionHandle (DtHandle handle) |
| virtual DtHandle | finalConnectionHandle () const |
| Set get final connection handle. | |
| virtual void | setFinalConnectionHandle (DtHandle handle) |
| virtual MAKRti::DtInetAddr | webServerAddress () const |
| Set/Get the federate's web server IP address. | |
| virtual void | setWebServerAddress (const MAKRti::DtInetAddr &ip) |
| virtual int | webServerPort () const |
| Get/Set the federate's web server HTTP port. | |
| virtual void | setWebServerPort (int port) |
| virtual int | processId () const |
| Get/Set the federates process ID. | |
| virtual void | setProcessId (int pid) |
| void | setCompressionEnabled (bool enabled) |
| Set/Get whether compression is enabled. | |
| bool | compressionEnabled () const |
| void | setCompressionLevel (unsigned level) |
| Set/Get the compression level. | |
| unsigned | compressionLevel () const |
| void | setBundlingEnabled (bool enabled) |
| Set/Get whether bundling is enabled. | |
| bool | bundlingEnabled () const |
| void | setBundleSize (unsigned size) |
| Set/Get the bundle size. | |
| unsigned | bundleSize () const |
| virtual MAKRti::DtString | processName () const |
| Get/Set the federates process Name. | |
| virtual void | setProcessName (MAKRti::DtString processName) |
| virtual MAKRti::DtString | commandArgs () const |
| Get/Set the command line arguments. | |
| virtual void | setCommandArgs (MAKRti::DtString commandArgs) |
| 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, DtConnectConfirmCb cb, void *usr, bool isMomCallback=false) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtConnectConfirmCb cb, void *usr, bool isMomCallback=false) |
Protected Member Functions | |
| virtual DtNetConnectConfirmMsg * | netConnectConfirmMsg () |
| The network representation. | |
| virtual const DtNetConnectConfirmMsg * | netConnectConfirmMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an Connect Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtConnectConfirmMsg * | self () const |
| Casts away const-ness. | |
| virtual const char * | processNamePtr () const |
| Get the pointer to the process name data. | |
| virtual char * | processNamePtr () |
| virtual unsigned long | processNameSize () const |
| Set/Get the size of the process name string. | |
| virtual void | setProcessNameSize (unsigned long size) |
| virtual const char * | commandArgsPtr () const |
| Get the pointer to the command args data. | |
| virtual char * | commandArgsPtr () |
| virtual unsigned long | commandArgsSize () const |
| Set/Get the size of the command Args string. | |
| virtual void | setCommandArgsSize (unsigned long size) |
| DtConnectConfirmMsg::DtConnectConfirmMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setWebServerAddress(), and setWebServerPort().
| DtConnectConfirmMsg::DtConnectConfirmMsg | ( | const DtNetConnectConfirmMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetConnectConfirmMsg::header, DtRtiMsg::initDtRtiMsg(), and DtNetMsgHeader::totalSize.
| DtConnectConfirmMsg::DtConnectConfirmMsg | ( | DtHandle | origHandle, |
| DtHandle | finalHandle, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), setWebServerAddress(), and setWebServerPort().
| DtConnectConfirmMsg::~DtConnectConfirmMsg | ( | ) | [virtual] |
Destructor.
| void DtConnectConfirmMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtConnectConfirmCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtConnectConfirmMsgKind.
| unsigned DtConnectConfirmMsg::bundleSize | ( | ) | const |
References DtNetConnectConfirmMsg::bundleSize, and netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| bool DtConnectConfirmMsg::bundlingEnabled | ( | ) | const |
References DtNetConnectConfirmMsg::enableBundling, and netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| DtRtiMsg * DtConnectConfirmMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtConnectConfirmMsg(), and netConnectConfirmMsg().
| MAKRti::DtString DtConnectConfirmMsg::commandArgs | ( | ) | const [virtual] |
Get/Set the command line arguments.
Get/Set the federates process Name.
References commandArgsPtr(), and commandArgsSize().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg().
| const char * DtConnectConfirmMsg::commandArgsPtr | ( | ) | const [protected, virtual] |
Get the pointer to the command args data.
Get the pointer to the process name data.
References processNamePtr(), and processNameSize().
Referenced by commandArgs(), and setCommandArgs().
| char * DtConnectConfirmMsg::commandArgsPtr | ( | ) | [protected, virtual] |
References processNamePtr(), and processNameSize().
| unsigned long DtConnectConfirmMsg::commandArgsSize | ( | ) | const [protected, virtual] |
Set/Get the size of the command Args string.
Get the size of the process name string.
References DtNetConnectConfirmMsg::commandArgsSize, and netConnectConfirmMsg().
Referenced by commandArgs(), and setCommandArgs().
| bool DtConnectConfirmMsg::compressionEnabled | ( | ) | const |
References DtNetConnectConfirmMsg::enableCompression, and netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| unsigned DtConnectConfirmMsg::compressionLevel | ( | ) | const |
References DtNetConnectConfirmMsg::compressionLevel, and netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| DtRtiMsg * DtConnectConfirmMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtConnectConfirmMsg().
| DtRtiMsg * DtConnectConfirmMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtConnectConfirmMsg().
| DtHandle DtConnectConfirmMsg::finalConnectionHandle | ( | ) | const [virtual] |
Set get final connection handle.
References DtNetConnectConfirmMsg::finalConnectionId, and netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| DtRtiMsgKind DtConnectConfirmMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an Connect Msg.
Implements DtRtiMsg.
References DtConnectConfirmMsgKind.
Referenced by DtConnectConfirmMsg().
| int DtConnectConfirmMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtConnectConfirmMsg().
| DtNetConnectConfirmMsg * DtConnectConfirmMsg::netConnectConfirmMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by bundleSize(), bundlingEnabled(), clone(), commandArgsSize(), compressionEnabled(), compressionLevel(), finalConnectionHandle(), origConnectionHandle(), processId(), processNamePtr(), processNameSize(), setBundleSize(), setBundlingEnabled(), setCommandArgsSize(), setCompressionEnabled(), setCompressionLevel(), setFinalConnectionHandle(), setOrigConnectionHandle(), setProcessId(), setProcessNameSize(), setWebServerAddress(), setWebServerPort(), webServerAddress(), and webServerPort().
| const DtNetConnectConfirmMsg * DtConnectConfirmMsg::netConnectConfirmMsg | ( | ) | const [protected, virtual] |
| DtHandle DtConnectConfirmMsg::origConnectionHandle | ( | ) | const [virtual] |
Set get original connection handle.
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::origConnectionId.
Referenced by printData().
| void DtConnectConfirmMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References bundleSize(), bundlingEnabled(), compressionEnabled(), compressionLevel(), finalConnectionHandle(), origConnectionHandle(), processId(), processName(), webServerAddress(), and webServerPort().
| int DtConnectConfirmMsg::processId | ( | ) | const [virtual] |
Get/Set the federates process ID.
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::processId.
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| MAKRti::DtString DtConnectConfirmMsg::processName | ( | ) | const [virtual] |
Get/Set the federates process Name.
References processNamePtr(), and processNameSize().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| const char * DtConnectConfirmMsg::processNamePtr | ( | ) | const [protected, virtual] |
Get the pointer to the process name data.
References netConnectConfirmMsg().
Referenced by commandArgsPtr(), processName(), and setProcessName().
| char * DtConnectConfirmMsg::processNamePtr | ( | ) | [protected, virtual] |
References netConnectConfirmMsg().
| unsigned long DtConnectConfirmMsg::processNameSize | ( | ) | const [protected, virtual] |
Set/Get the size of the process name string.
Get the size of the process name string.
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::processNameSize.
Referenced by commandArgsPtr(), processName(), and setProcessName().
| void DtConnectConfirmMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtConnectConfirmCb | cb, | ||
| void * | usr, | ||
| bool | isMomCallback = false |
||
| ) | [static] |
References DtConnectConfirmMsgKind, and DtConnectionMgr::removeMsgCallback().
| DtConnectConfirmMsg * DtConnectConfirmMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtConnectConfirmMsg::set | ( | DtHandle | origHandle, |
| DtHandle | finalHandle | ||
| ) | [virtual] |
Set all fields simultaneously.
References setFinalConnectionHandle(), and setOrigConnectionHandle().
| void DtConnectConfirmMsg::setBundleSize | ( | unsigned | size | ) |
Set/Get the bundle size.
References DtNetConnectConfirmMsg::bundleSize, and netConnectConfirmMsg().
Referenced by DtConnectionMgr::createAncillaryRelConns(), and DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setBundlingEnabled | ( | bool | enabled | ) |
Set/Get whether bundling is enabled.
References DtNetConnectConfirmMsg::enableBundling, and netConnectConfirmMsg().
Referenced by DtConnectionMgr::createAncillaryRelConns(), and DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setCommandArgs | ( | MAKRti::DtString | commandArgs | ) | [virtual] |
References commandArgsPtr(), commandArgsSize(), rti1516e::insertBytes(), and setCommandArgsSize().
Referenced by DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setCommandArgsSize | ( | unsigned long | size | ) | [protected, virtual] |
References DtNetConnectConfirmMsg::commandArgsSize, and netConnectConfirmMsg().
Referenced by setCommandArgs().
| void DtConnectConfirmMsg::setCompressionEnabled | ( | bool | enabled | ) |
Set/Get whether compression is enabled.
References DtNetConnectConfirmMsg::enableCompression, and netConnectConfirmMsg().
Referenced by DtConnectionMgr::createAncillaryRelConns(), and DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setCompressionLevel | ( | unsigned | level | ) |
Set/Get the compression level.
References DtNetConnectConfirmMsg::compressionLevel, and netConnectConfirmMsg().
Referenced by DtConnectionMgr::createAncillaryRelConns(), and DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setFinalConnectionHandle | ( | DtHandle | handle | ) | [virtual] |
References DtNetConnectConfirmMsg::finalConnectionId, and netConnectConfirmMsg().
Referenced by set().
| void DtConnectConfirmMsg::setOrigConnectionHandle | ( | DtHandle | handle | ) | [virtual] |
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::origConnectionId.
Referenced by set().
| void DtConnectConfirmMsg::setProcessId | ( | int | pid | ) | [virtual] |
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::processId.
Referenced by DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setProcessName | ( | MAKRti::DtString | processName | ) | [virtual] |
References rti1516e::insertBytes(), processNamePtr(), processNameSize(), and setProcessNameSize().
Referenced by DtConnectionMgr::createRelConn().
| void DtConnectConfirmMsg::setProcessNameSize | ( | unsigned long | size | ) | [protected, virtual] |
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::processNameSize.
Referenced by setProcessName().
| void DtConnectConfirmMsg::setWebServerAddress | ( | const MAKRti::DtInetAddr & | ip | ) | [virtual] |
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::webServerAddr.
Referenced by DtConnectionMgr::createRelConn(), and DtConnectConfirmMsg().
| void DtConnectConfirmMsg::setWebServerPort | ( | int | port | ) | [virtual] |
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::webServerPort.
Referenced by DtConnectionMgr::createRelConn(), and DtConnectConfirmMsg().
| MAKRti::DtInetAddr DtConnectConfirmMsg::webServerAddress | ( | ) | const [virtual] |
Set/Get the federate's web server IP address.
References netConnectConfirmMsg().
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().
| int DtConnectConfirmMsg::webServerPort | ( | ) | const [virtual] |
Get/Set the federate's web server HTTP port.
References netConnectConfirmMsg(), and DtNetConnectConfirmMsg::webServerPort.
Referenced by DtConnectConfirmFilter::handleConnectConfirmMsg(), and printData().