![]() |
MAK RTIspy API Documentation for HLA 1516
|
The DtAssistantLicServerInfoMsg defines a wrapper for the RTI Assistant information message used by the Assistants to share known license server information with one another. More...
Inheritance diagram for DtAssistantLicServerInfoMsg:
Collaboration diagram for DtAssistantLicServerInfoMsg:Public Member Functions | |
| DtAssistantLicServerInfoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantLicServerInfoMsg (const DtNetAssistantLicServerInfoMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantLicServerInfoMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | setLicenseServers (const DtLicServerSet &licenseServers) |
| Set/Get license servers. | |
| virtual void | getLicenseServers (DtLicServerSet &servers) const |
| virtual bool | isRemoval () const |
| Get/Set whether the message is indicating the removal of the specified rtiexecs and license servers. | |
| virtual void | setRemoval (bool val) |
| virtual void | printData () const |
| Print the data section. | |
Static Public Member Functions | |
| static DtAssistantMsg * | create (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creators. | |
| static DtAssistantMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| static void | addCallback (DtRtiAssistantPeer *conn, DtAssistantLicServerInfoCb cb, void *usr) |
| Adds or removes a callback with the given Assistant peer for this message type. | |
| static void | removeCallback (DtRtiAssistantPeer *conn, DtAssistantLicServerInfoCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetAssistantLicServerInfoMsg * | netAssistantLicServerInfoMsg () |
| The network representation for the message. | |
| virtual const DtNetAssistantLicServerInfoMsg * | netAssistantLicServerInfoMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtAssistantLicServerInfoMsg message. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual void | setLicenseCount (unsigned count) |
| Set/Get number of license servers included in message. | |
| virtual unsigned | licenseCount () const |
| virtual const DtNetU32 * | licensePortsPtr () const |
| Return pointer to license ports location in message. | |
| virtual DtNetU32 * | licensePortsPtr () |
| virtual void | setLicenseServersSize (unsigned long size) |
| Set/Get license servers text size. | |
| virtual unsigned long | licenseServersSize () const |
| virtual const char * | licenseServersPtr () const |
| Return pointer to license servers location in message. | |
| virtual char * | licenseServersPtr () |
The DtAssistantLicServerInfoMsg defines a wrapper for the RTI Assistant information message used by the Assistants to share known license server information with one another.
| DtAssistantLicServerInfoMsg::DtAssistantLicServerInfoMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().
| DtAssistantLicServerInfoMsg::DtAssistantLicServerInfoMsg | ( | const DtNetAssistantLicServerInfoMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtNetAssistantLicServerInfoMsg::header, and DtAssistantMsg::initAssistantMsg().
Destructor.
| void DtAssistantLicServerInfoMsg::addCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantLicServerInfoCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant peer for this message type.
References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantLicServerInfoMsgKind.
Referenced by DtAssistantLicenseQueryMgr::DtAssistantLicenseQueryMgr().
| DtAssistantMsg * DtAssistantLicServerInfoMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
References DtAssistantLicServerInfoMsg(), and netAssistantLicServerInfoMsg().
| DtAssistantMsg * DtAssistantLicServerInfoMsg::create | ( | const DtNetAssistantMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creators.
References DtAssistantLicServerInfoMsg().
| DtAssistantMsg * DtAssistantLicServerInfoMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtAssistantLicServerInfoMsg().
| void DtAssistantLicServerInfoMsg::getLicenseServers | ( | DtLicServerSet & | servers | ) | const [virtual] |
References licenseCount(), licensePortsPtr(), and licenseServersPtr().
Referenced by DtAssistantLicenseQueryMgr::processLicServerInfoMsg().
| DtAssistantMsgKind DtAssistantLicServerInfoMsg::internalMsgKind | ( | ) | [protected, virtual] |
Returns the kind of a DtAssistantLicServerInfoMsg message.
Implements DtAssistantMsg.
References DtAssistantLicServerInfoMsgKind.
Referenced by DtAssistantLicServerInfoMsg().
| bool DtAssistantLicServerInfoMsg::isRemoval | ( | ) | const [virtual] |
Get/Set whether the message is indicating the removal of the specified rtiexecs and license servers.
If not, it is for addition.
References netAssistantLicServerInfoMsg(), and DtNetAssistantLicServerInfoMsg::removal.
Referenced by DtAssistantLicenseQueryMgr::processLicServerInfoMsg().
| unsigned DtAssistantLicServerInfoMsg::licenseCount | ( | ) | const [protected, virtual] |
References DtNetAssistantLicServerInfoMsg::licenseCount, and netAssistantLicServerInfoMsg().
Referenced by getLicenseServers(), licenseServersPtr(), and setLicenseServers().
| const DtNetU32 * DtAssistantLicServerInfoMsg::licensePortsPtr | ( | ) | const [protected, virtual] |
Return pointer to license ports location in message.
References netAssistantLicServerInfoMsg().
Referenced by getLicenseServers(), licenseServersPtr(), and setLicenseServers().
| DtNetU32 * DtAssistantLicServerInfoMsg::licensePortsPtr | ( | ) | [protected, virtual] |
References netAssistantLicServerInfoMsg().
| const char * DtAssistantLicServerInfoMsg::licenseServersPtr | ( | ) | const [protected, virtual] |
Return pointer to license servers location in message.
References licenseCount(), and licensePortsPtr().
Referenced by getLicenseServers(), and setLicenseServers().
| char * DtAssistantLicServerInfoMsg::licenseServersPtr | ( | ) | [protected, virtual] |
References licenseCount(), and licensePortsPtr().
| unsigned long DtAssistantLicServerInfoMsg::licenseServersSize | ( | ) | const [protected, virtual] |
References DtNetAssistantLicServerInfoMsg::licenseServersSize, and netAssistantLicServerInfoMsg().
Referenced by setLicenseServers().
| int DtAssistantLicServerInfoMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtAssistantLicServerInfoMsg().
| DtNetAssistantLicServerInfoMsg * DtAssistantLicServerInfoMsg::netAssistantLicServerInfoMsg | ( | ) | [protected, virtual] |
The network representation for the message.
Referenced by clone(), isRemoval(), licenseCount(), licensePortsPtr(), licenseServersSize(), setLicenseCount(), setLicenseServersSize(), and setRemoval().
| const DtNetAssistantLicServerInfoMsg * DtAssistantLicServerInfoMsg::netAssistantLicServerInfoMsg | ( | ) | const [protected, virtual] |
| void DtAssistantLicServerInfoMsg::printData | ( | ) | const [virtual] |
Print the data section.
Reimplemented from DtAssistantMsg.
| void DtAssistantLicServerInfoMsg::removeCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantLicServerInfoCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtAssistantLicServerInfoMsgKind, and DtRtiAssistantPeer::removeMsgCallback().
Referenced by DtAssistantLicenseQueryMgr::~DtAssistantLicenseQueryMgr().
| void DtAssistantLicServerInfoMsg::setLicenseCount | ( | unsigned | count | ) | [protected, virtual] |
Set/Get number of license servers included in message.
References DtNetAssistantLicServerInfoMsg::licenseCount, and netAssistantLicServerInfoMsg().
Referenced by setLicenseServers().
| void DtAssistantLicServerInfoMsg::setLicenseServers | ( | const DtLicServerSet & | licenseServers | ) | [virtual] |
Set/Get license servers.
References rti1516e::insertBytes(), licenseCount(), licensePortsPtr(), licenseServersPtr(), licenseServersSize(), setLicenseCount(), and setLicenseServersSize().
Referenced by DtRtiAssistantPeer::sendLicServerInfoMsg().
| void DtAssistantLicServerInfoMsg::setLicenseServersSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get license servers text size.
References DtNetAssistantLicServerInfoMsg::licenseServersSize, and netAssistantLicServerInfoMsg().
Referenced by setLicenseServers().
| void DtAssistantLicServerInfoMsg::setRemoval | ( | bool | val | ) | [virtual] |
References netAssistantLicServerInfoMsg(), and DtNetAssistantLicServerInfoMsg::removal.
Referenced by DtRtiAssistantPeer::sendLicServerInfoMsg().