![]() |
MAK RTIspy API Documentation for HLA Evolved
|
The DtAssistantForwarderStateMsg defines a wrapper for the RTI Assistant forwarder state message sent to an assistant from a local RTI Forwarder and between assistants to relay RTI component information. More...
Inheritance diagram for DtAssistantForwarderStateMsg:
Collaboration diagram for DtAssistantForwarderStateMsg:Public Member Functions | |
| DtAssistantForwarderStateMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantForwarderStateMsg (const DtNetAssistantForwarderStateMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantForwarderStateMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | printData () const |
| Print the data section. | |
| void | getAllData (unsigned int &numForwarderToForwarderConns, std::vector< MAKRti::DtString > &forwarderIdentifiers, std::vector< MAKRti::DtString > &forwarderConnectionHostNames, std::vector< MAKRti::DtInetAddr > &forwarderConnectionAddrs, std::vector< int > &forwarderConnectionPorts, unsigned int &numExecConns, unsigned int &numForwarderClientConns, std::vector< MAKRti::DtString > &clientConnectionNames, std::vector< MAKRti::DtString > &clientConnectionTypeNames, std::vector< MAKRti::DtString > &clientConnectionProcessNames, std::vector< MAKRti::DtString > &clientConnectionPIDs, std::vector< MAKRti::DtString > &clientConnectionCommandArgs, std::vector< MAKRti::DtString > &clientConnectionHostNames, std::vector< MAKRti::DtInetAddr > &clientConnectionAddrs, std::vector< MAKRti::DtString > &clientConnectionFederationNames, std::vector< int > &clientFederateHandles, std::vector< unsigned > &clientConnIds, std::vector< int > &clientConnectionQueueStatus, std::vector< DtHlaVersionId > &clientHlaVersions, std::vector< DtAssistantMsgFederateStatus > &clientFederateStat) const |
| bool | setAllData (unsigned int numForwarderToForwarderConns, const std::vector< MAKRti::DtString > &forwarderIdentifiers, const std::vector< MAKRti::DtString > &forwarderConnectionHostNames, const std::vector< MAKRti::DtInetAddr > &forwarderConnectionAddrs, const std::vector< int > &forwarderConnectionPorts, unsigned int numExecConns, unsigned int numForwarderClientConns, const std::vector< MAKRti::DtString > &clientConnectionNames, const std::vector< MAKRti::DtString > &clientConnectionTypeNames, const std::vector< MAKRti::DtString > &clientConnectionProcessNames, const std::vector< MAKRti::DtString > &clientConnectionPIDs, const std::vector< MAKRti::DtString > &clientConnectionCommandArgs, const std::vector< MAKRti::DtString > &clientConnectionHostNames, const std::vector< MAKRti::DtInetAddr > &clientConnectionAddrs, const std::vector< MAKRti::DtString > &clientConnectionFederationNames, const std::vector< int > &clientFederateHandles, const std::vector< unsigned > &clientConnIds, const std::vector< int > &clientConnectionQueueStatus, const std::vector< DtHlaVersionId > &clientHlaVersions, const std::vector< DtAssistantMsgFederateStatus > &clientConnectionFederateStatus) |
| MAKRti::DtString | toString () const |
| virtual unsigned int | numForwarderToForwarderConnections () const |
| virtual unsigned int | numClientConnectionsThatAreExecs () const |
| virtual unsigned int | numClientConnections () const |
Public Member Functions inherited from DtAssistantMsg | |
| virtual | ~DtAssistantMsg () |
| Destructor. | |
| virtual DtNetAssistantMsgHeader * | netHeader () const |
| Get header of network representation. | |
| virtual int | version () const |
| Return the message version. | |
| virtual bool | isValidVersion () const |
| Returns bool: message version is valid? | |
| virtual DtAssistantMsgKind | msgKind () const |
| Get the message kind. | |
| virtual void | print () const |
| Printing functions. | |
| virtual void | printHeader () const |
| virtual bool | isOk () const |
| Message is good? | |
| bool | isAssistantToAssistantMessage () const |
| Returns whether or not this message contains source/destination information included in messages sent between assistants. | |
| virtual MAKRti::DtInetAddr | sourceAddr () const |
| Get/Set the IP address of the source of this message. | |
| virtual void | setSourceAddr (const MAKRti::DtInetAddr &addr) |
| virtual int | sourceId () const |
| Get/Set the ID of the source of this message. | |
| virtual void | setSourceId (int id) |
| virtual MAKRti::DtString | sourceHost () const |
| Get/Set the host name of the source of this message. | |
| virtual void | setSourceHost (const MAKRti::DtString &addr) |
| virtual MAKRti::DtInetAddr | destAddr () const |
| Get/Set the IP address of the destination of this message. | |
| virtual void | setDestAddr (const MAKRti::DtInetAddr &addr) |
| virtual int | destId () const |
| Get/Set the ID of the destination of this message. | |
| virtual void | setDestId (int id) |
| virtual int | compId () const |
| Get/Set the related component's connection ID. | |
| virtual void | setCompId (int compId) |
Static Public Member Functions | |
| static DtAssistantMsg * | create (const DtNetAssistantMsgHeader *initial, MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creators. | |
| static DtAssistantMsg * | create (MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| static void | addCallback (DtRtiAssistantServer *conn, DtAssistantForwarderStateCb cb, void *usr) |
| Adds or removes a callback with the given Assistant server for this message type. | |
| static void | removeCallback (DtRtiAssistantServer *conn, DtAssistantForwarderStateCb cb, void *usr) |
| static void | addCallback (DtRtiAssistantPeer *conn, DtAssistantForwarderStateCb cb, void *usr) |
| Adds or removes a callback with the given Assistant peer for this message type. | |
| static void | removeCallback (DtRtiAssistantPeer *conn, DtAssistantForwarderStateCb cb, void *usr) |
Static Public Member Functions inherited from DtAssistantMsg | |
| static const char * | kindToString (DtAssistantMsgKind kind) |
| Returns the name of the message, by kind enumeration. | |
Protected Member Functions | |
| virtual DtNetAssistantForwarderStateMsg * | netAssistantForwarderStateMsg () |
| The network representation for the message. | |
| virtual const DtNetAssistantForwarderStateMsg * | netAssistantForwarderStateMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtNetAssistantForwarderStateMsg message. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual void | setNumForwarderToForwarderConnections (unsigned int num) |
| virtual void | setNumClientConnectionsThatAreExecs (unsigned int num) |
| virtual void | setNumClientConnections (unsigned int num) |
| virtual DtInetUtils::DtInetAddrFamily | addressFamily () const |
| Get/set the IP address family. | |
| virtual void | setAddressFamily (DtInetUtils::DtInetAddrFamily fam) |
| virtual void | forwarderIds (std::vector< MAKRti::DtString > &ids) const |
| Get/set all of the forwarder ids. | |
| virtual bool | setForwarderIds (const std::vector< MAKRti::DtString > &ids) |
| virtual void | forwarderHostNames (std::vector< MAKRti::DtString > &names) const |
| Get/set all of the forwarder Host Names. | |
| virtual bool | setForwarderHostNames (const std::vector< MAKRti::DtString > &names) |
| virtual void | forwarderAddrs (std::vector< MAKRti::DtInetAddr > &addrs) const |
| Get all of the forwarder Addrs. | |
| virtual bool | setForwarderAddrs (const std::vector< MAKRti::DtInetAddr > &addrs) |
| virtual void | forwarderPorts (std::vector< int > &ports) const |
| Get all of the forwarder Ports. | |
| virtual bool | setForwarderPorts (const std::vector< int > &ports) |
| virtual void | clientNames (std::vector< MAKRti::DtString > &names) const |
| Get all of the client Names. | |
| virtual bool | setClientNames (const std::vector< MAKRti::DtString > &names) |
| virtual void | clientTypes (std::vector< MAKRti::DtString > &strTypes) const |
| Get all of the client types. | |
| virtual bool | setClientTypes (const std::vector< MAKRti::DtString > &strTypes) |
| virtual void | clientProcessNames (std::vector< MAKRti::DtString > &processNames) const |
| Get all of the client process names. | |
| virtual bool | setClientProcessNames (const std::vector< MAKRti::DtString > &processNames) |
| virtual void | clientPIDs (std::vector< MAKRti::DtString > &pids) const |
| Get all of the client pids. | |
| virtual bool | setClientPIDs (const std::vector< MAKRti::DtString > &pids) |
| virtual void | clientCommandArgs (std::vector< MAKRti::DtString > &commandArgs) const |
| Get all of the client command arguments. | |
| virtual bool | setClientCommandArgs (const std::vector< MAKRti::DtString > &commandArgs) |
| virtual void | clientHostNames (std::vector< MAKRti::DtString > &names) const |
| Get all of the client Host Names. | |
| virtual bool | setClientHostNames (const std::vector< MAKRti::DtString > &names) |
| virtual void | clientFederationNames (std::vector< MAKRti::DtString > &names) const |
| Get all of the client Federation Names. | |
| virtual bool | setClientFederationNames (const std::vector< MAKRti::DtString > &names) |
| virtual void | clientAddrs (std::vector< MAKRti::DtInetAddr > &addrs) const |
| Get all of the client Addrs. | |
| virtual bool | setClientAddrs (const std::vector< MAKRti::DtInetAddr > &addrs) |
| virtual void | clientFederateHandles (std::vector< int > &handles) const |
| Get all of the client federate handles. | |
| virtual bool | setClientFederateHandles (const std::vector< int > &handles) |
| virtual void | clientConnectionIds (std::vector< unsigned > &ids) const |
| Get all of the client connection IDs. | |
| virtual bool | setClientConnectionIds (const std::vector< unsigned > &ids) |
| virtual void | clientConnectionQueueStatus (std::vector< int > &queueStatus) const |
| Get all of the client connection queue status. | |
| virtual bool | setClientConnectionQueueStatus (const std::vector< int > &queueStatus) |
| virtual void | clientHlaVersions (std::vector< DtHlaVersionId > &hlaVersions) const |
| Get all of the client connection HLA versions. | |
| virtual bool | setClientHlaVersions (const std::vector< DtHlaVersionId > &hlaVersions) |
| virtual void | clientFederateStatus (std::vector< DtAssistantMsgFederateStatus > &federateStatus) const |
| Get all of the client connection federate status. | |
| virtual bool | setClientFederateStatus (const std::vector< DtAssistantMsgFederateStatus > &federateStatus) |
| virtual unsigned int | forwarderIdsSize () const |
| Get/set the total size of all the forwarder ids. | |
| virtual void | setForwarderIdsSize (unsigned int size) |
| virtual const char * | forwarderIdsPtr () const |
| Get the pointer to all the forwarder ids. | |
| virtual char * | forwarderIdsPtr () |
| virtual unsigned int | forwarderHostNamesSize () const |
| Get/set the total size of all the forwarder host names. | |
| virtual void | setForwarderHostNamesSize (unsigned int size) |
| virtual const char * | forwarderHostNamesPtr () const |
| Get the pointer to the forwarder Hostnames data. | |
| virtual char * | forwarderHostNamesPtr () |
| virtual const DtNetU128 * | forwarderAddrsPtr () const |
| Get the pointer to the forwarder Addrs data. | |
| virtual DtNetU128 * | forwarderAddrsPtr () |
| virtual const DtNetU16 * | forwarderPortsPtr () const |
| Get the pointer to the forwarder Ports data. | |
| virtual DtNetU16 * | forwarderPortsPtr () |
| virtual unsigned int | clientNamesSize () const |
| Get/set the total size of all the clients names. | |
| virtual void | setClientNamesSize (unsigned int size) |
| virtual const char * | clientNamesPtr () const |
| Get the pointer to the client names data. | |
| virtual char * | clientNamesPtr () |
| virtual unsigned int | clientTypesSize () const |
| Get/set the total size of all the client types. | |
| virtual void | setClientTypesSize (unsigned int size) |
| virtual const char * | clientTypesPtr () const |
| Get the pointer to the client types data. | |
| virtual char * | clientTypesPtr () |
| virtual unsigned int | clientProcessNamesSize () const |
| Get/set the total size of all the client process names. | |
| virtual void | setClientProcessNamesSize (unsigned int size) |
| virtual const char * | clientProcessNamesPtr () const |
| Get the pointer to the client Process names data. | |
| virtual char * | clientProcessNamesPtr () |
| virtual unsigned int | clientPIDsSize () const |
| Get/set the total size of all the client PIDS. | |
| virtual void | setClientPIDsSize (unsigned int size) |
| virtual const char * | clientPIDsPtr () const |
| Get the pointer to the client pids data. | |
| virtual char * | clientPIDsPtr () |
| virtual unsigned int | clientCommandArgsSize () const |
| Get/set the total size of all the client command arguments. | |
| virtual void | setClientCommandArgsSize (unsigned int size) |
| virtual const char * | clientCommandArgsPtr () const |
| Get the pointer to the client command args data. | |
| virtual char * | clientCommandArgsPtr () |
| virtual unsigned int | clientHostNamesSize () const |
| Get/set the total size of all the clients host name. | |
| virtual void | setClientHostNamesSize (unsigned int size) |
| virtual const char * | clientHostNamesPtr () const |
| Get the pointer to the client host names data. | |
| virtual char * | clientHostNamesPtr () |
| virtual unsigned int | clientFederationNamesSize () const |
| Get/set the total size of all the clients federation names. | |
| virtual void | setClientFederationNamesSize (unsigned int size) |
| virtual const char * | clientFederationNamesPtr () const |
| Get the pointer to the client federation names data. | |
| virtual char * | clientFederationNamesPtr () |
| virtual const DtNetU128 * | clientAddrsPtr () const |
| Get the pointer to the client Addrs data. | |
| virtual DtNetU128 * | clientAddrsPtr () |
| virtual const DtNetU16 * | clientFederateHandlesPtr () const |
| Get the pointer to the client federate handles data. | |
| virtual DtNetU16 * | clientFederateHandlesPtr () |
| virtual const DtNetU32 * | clientConnectionIdsPtr () const |
| Get the pointer to the client connection IDs data. | |
| virtual DtNetU32 * | clientConnectionIdsPtr () |
| const DtNetU16 * | clientConnectionQueueStatusPtr () const |
| Get the pointer to the client connection queue status data. | |
| DtNetU16 * | clientConnectionQueueStatusPtr () |
| const DtNetU8 * | clientHlaVersionsPtr () const |
| Get the pointer to the client HLA versions data. | |
| DtNetU8 * | clientHlaVersionsPtr () |
| virtual const DtNetU8 * | clientFederateStatusPtr () const |
| virtual DtNetU8 * | clientFederateStatusPtr () |
Protected Member Functions inherited from DtAssistantMsg | |
| DtAssistantMsg () | |
| Constructor. | |
| virtual void | sizeChanged (int size) |
| Called whenever size is changed using changeSize, or insert/deleteBytes. | |
| void | initAssistantMsg (int size, DtAssistantMsgKind msgKindVal, DtBufferPtr buffer) |
| Called by ctor, so not virtual. | |
| void | initAssistantMsg (const void *initial, int size, DtBufferPtr buffer) |
| void | initAssistantMsg (const DtNetAssistantMsgHeader *header, DtBufferPtr buffer) |
| virtual void | adjustBytes (int offset, int numBytes) |
| Adjust numBytes bytes at the indicated offset in the net rep. | |
| virtual void | adjustBytes (void *address, int numBytes) |
| Adjust the numBytes starting at the indicated address. | |
| virtual void | resizeForSrcDestInfo () |
| Allocates memory at the end of the message for source/destination information needed when sending messages between assistants. | |
| virtual const DtNetAssistantSrcDestInfo * | srcDestInfoPtr () const |
| Return pointer to source/destination information in the message. | |
| virtual DtNetAssistantSrcDestInfo * | srcDestInfoPtr () |
| virtual void | setSourceHostSize (unsigned long size) |
| Set/Get source host name text size. | |
| virtual unsigned long | sourceHostSize () const |
| virtual const char * | sourceHostPtr () const |
| Return pointer to source host name in message. | |
| virtual char * | sourceHostPtr () |
The DtAssistantForwarderStateMsg defines a wrapper for the RTI Assistant forwarder state message sent to an assistant from a local RTI Forwarder and between assistants to relay RTI component information.
| DtAssistantForwarderStateMsg::DtAssistantForwarderStateMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().
Referenced by clone().
| DtAssistantForwarderStateMsg::DtAssistantForwarderStateMsg | ( | const DtNetAssistantForwarderStateMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
|
virtual |
Destructor.
|
static |
Adds or removes a callback with the given Assistant server for this message type.
References DtRtiAssistantServer::addMsgCallback(), and DtAssistantForwarderStateMsgKind.
Referenced by DtAssistantNetworkCompInfoMgr::DtAssistantNetworkCompInfoMgr().
|
static |
Adds or removes a callback with the given Assistant peer for this message type.
References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantForwarderStateMsgKind.
|
protectedvirtual |
Get/set the IP address family.
References DtNetAssistantForwarderStateMsg::inetAddrFamily, and netAssistantForwarderStateMsg().
Referenced by clientAddrs(), and forwarderAddrs().
|
protectedvirtual |
Get all of the client Addrs.
References addressFamily(), clientAddrsPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client Addrs data.
References forwarderAddrsPtr(), and numForwarderToForwarderConnections().
Referenced by clientAddrs(), clientConnectionIdsPtr(), and setClientAddrs().
|
protectedvirtual |
References forwarderAddrsPtr(), and numForwarderToForwarderConnections().
|
protectedvirtual |
Get all of the client command arguments.
References clientCommandArgsPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client command args data.
References clientPIDsPtr(), and clientPIDsSize().
Referenced by clientCommandArgs(), clientHostNamesPtr(), and setClientCommandArgs().
|
protectedvirtual |
References clientPIDsPtr(), and clientPIDsSize().
|
protectedvirtual |
Get/set the total size of all the client command arguments.
References DtNetAssistantForwarderStateMsg::clientCommandArgSize, and netAssistantForwarderStateMsg().
Referenced by clientHostNamesPtr(), and setAllData().
|
protectedvirtual |
Get all of the client connection IDs.
References clientConnectionIdsPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client connection IDs data.
References clientAddrsPtr(), and numClientConnections().
Referenced by clientConnectionIds(), forwarderPortsPtr(), and setClientConnectionIds().
|
protectedvirtual |
References clientAddrsPtr(), and numClientConnections().
|
protectedvirtual |
Get all of the client connection queue status.
References clientConnectionQueueStatusPtr(), and numClientConnections().
Referenced by getAllData(), and toString().
|
protected |
Get the pointer to the client connection queue status data.
References clientFederateHandlesPtr(), and numClientConnections().
Referenced by clientConnectionQueueStatus(), clientHlaVersionsPtr(), and setClientConnectionQueueStatus().
|
protected |
References clientFederateHandlesPtr(), and numClientConnections().
|
protectedvirtual |
Get all of the client federate handles.
References clientFederateHandlesPtr(), and numClientConnections().
Referenced by getAllData(), and toString().
|
protectedvirtual |
Get the pointer to the client federate handles data.
References forwarderPortsPtr(), and numForwarderToForwarderConnections().
Referenced by clientConnectionQueueStatusPtr(), clientFederateHandles(), and setClientFederateHandles().
|
protectedvirtual |
References forwarderPortsPtr(), and numForwarderToForwarderConnections().
|
protectedvirtual |
Get all of the client connection federate status.
References clientFederateStatusPtr(), and numClientConnections().
Referenced by getAllData(), and toString().
|
protectedvirtual |
References clientHlaVersionsPtr(), and numClientConnections().
Referenced by clientFederateStatus(), forwarderIdsPtr(), and setClientFederateStatus().
|
protectedvirtual |
References clientHlaVersionsPtr(), and numClientConnections().
|
protectedvirtual |
Get all of the client Federation Names.
References clientFederationNamesPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client federation names data.
References clientHostNamesPtr(), and clientHostNamesSize().
Referenced by clientFederationNames(), and setClientFederationNames().
|
protectedvirtual |
References clientHostNamesPtr(), and clientHostNamesSize().
|
protectedvirtual |
Get/set the total size of all the clients federation names.
References DtNetAssistantForwarderStateMsg::clientFederationNameSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
Get all of the client connection HLA versions.
References clientHlaVersionsPtr(), and numClientConnections().
Referenced by getAllData(), and toString().
|
protected |
Get the pointer to the client HLA versions data.
References clientConnectionQueueStatusPtr(), and numClientConnections().
Referenced by clientFederateStatusPtr(), clientHlaVersions(), and setClientHlaVersions().
|
protected |
References clientConnectionQueueStatusPtr(), and numClientConnections().
|
protectedvirtual |
Get all of the client Host Names.
References clientHostNamesPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client host names data.
References clientCommandArgsPtr(), and clientCommandArgsSize().
Referenced by clientFederationNamesPtr(), clientHostNames(), and setClientHostNames().
|
protectedvirtual |
References clientCommandArgsPtr(), and clientCommandArgsSize().
|
protectedvirtual |
Get/set the total size of all the clients host name.
References DtNetAssistantForwarderStateMsg::clientHostNameSize, and netAssistantForwarderStateMsg().
Referenced by clientFederationNamesPtr(), and setAllData().
|
protectedvirtual |
Get all of the client Names.
References clientNamesPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client names data.
References forwarderHostNamesPtr(), and forwarderHostNamesSize().
Referenced by clientNames(), clientTypesPtr(), and setClientNames().
|
protectedvirtual |
References forwarderHostNamesPtr(), and forwarderHostNamesSize().
|
protectedvirtual |
Get/set the total size of all the clients names.
References DtNetAssistantForwarderStateMsg::clientNameSize, and netAssistantForwarderStateMsg().
Referenced by clientTypesPtr().
|
protectedvirtual |
Get all of the client pids.
References clientPIDsPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client pids data.
References clientProcessNamesPtr(), and clientProcessNamesSize().
Referenced by clientCommandArgsPtr(), clientPIDs(), and setClientPIDs().
|
protectedvirtual |
References clientProcessNamesPtr(), and clientProcessNamesSize().
|
protectedvirtual |
Get/set the total size of all the client PIDS.
References DtNetAssistantForwarderStateMsg::clientPIDSize, and netAssistantForwarderStateMsg().
Referenced by clientCommandArgsPtr(), and setAllData().
|
protectedvirtual |
Get all of the client process names.
References clientProcessNamesPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client Process names data.
References clientTypesPtr(), and clientTypesSize().
Referenced by clientPIDsPtr(), clientProcessNames(), and setClientProcessNames().
|
protectedvirtual |
References clientTypesPtr(), and clientTypesSize().
|
protectedvirtual |
Get/set the total size of all the client process names.
References DtNetAssistantForwarderStateMsg::clientProcessNameSize, and netAssistantForwarderStateMsg().
Referenced by clientPIDsPtr(), and setAllData().
|
protectedvirtual |
Get all of the client types.
References clientTypesPtr(), and numClientConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the client types data.
References clientNamesPtr(), and clientNamesSize().
Referenced by clientProcessNamesPtr(), clientTypes(), and setClientTypes().
|
protectedvirtual |
References clientNamesPtr(), and clientNamesSize().
|
protectedvirtual |
Get/set the total size of all the client types.
References DtNetAssistantForwarderStateMsg::clientTypeSize, and netAssistantForwarderStateMsg().
Referenced by clientProcessNamesPtr(), and setAllData().
|
virtual |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
References DtAssistantForwarderStateMsg(), and netAssistantForwarderStateMsg().
Referenced by DtAssistantForwarderInfo::updateFromStateMsg().
|
static |
Creators.
|
static |
|
protectedvirtual |
Get all of the forwarder Addrs.
References addressFamily(), forwarderAddrsPtr(), and numForwarderToForwarderConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the forwarder Addrs data.
References netAssistantForwarderStateMsg().
Referenced by clientAddrsPtr(), forwarderAddrs(), setAllData(), and setForwarderAddrs().
|
protectedvirtual |
References netAssistantForwarderStateMsg().
|
protectedvirtual |
Get/set all of the forwarder Host Names.
References forwarderHostNamesPtr(), and numForwarderToForwarderConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the forwarder Hostnames data.
References forwarderIdsPtr(), and forwarderIdsSize().
Referenced by clientNamesPtr(), forwarderHostNames(), and setForwarderHostNames().
|
protectedvirtual |
References forwarderIdsPtr(), and forwarderIdsSize().
|
protectedvirtual |
Get/set the total size of all the forwarder host names.
References DtNetAssistantForwarderStateMsg::forwarderHostsSize, and netAssistantForwarderStateMsg().
Referenced by clientNamesPtr(), and setAllData().
|
protectedvirtual |
Get/set all of the forwarder ids.
References forwarderIdsPtr(), and numForwarderToForwarderConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to all the forwarder ids.
References clientFederateStatusPtr(), and numClientConnections().
Referenced by forwarderHostNamesPtr(), forwarderIds(), and setForwarderIds().
|
protectedvirtual |
References clientFederateStatusPtr(), and numClientConnections().
|
protectedvirtual |
Get/set the total size of all the forwarder ids.
References DtNetAssistantForwarderStateMsg::forwarderIdsSize, and netAssistantForwarderStateMsg().
Referenced by forwarderHostNamesPtr(), and setAllData().
|
protectedvirtual |
Get all of the forwarder Ports.
References forwarderPortsPtr(), and numForwarderToForwarderConnections().
Referenced by getAllData().
|
protectedvirtual |
Get the pointer to the forwarder Ports data.
References clientConnectionIdsPtr(), and numClientConnections().
Referenced by clientFederateHandlesPtr(), forwarderPorts(), and setForwarderPorts().
|
protectedvirtual |
References clientConnectionIdsPtr(), and numClientConnections().
| void DtAssistantForwarderStateMsg::getAllData | ( | unsigned int & | numForwarderToForwarderConns, |
| std::vector< MAKRti::DtString > & | forwarderIdentifiers, | ||
| std::vector< MAKRti::DtString > & | forwarderConnectionHostNames, | ||
| std::vector< MAKRti::DtInetAddr > & | forwarderConnectionAddrs, | ||
| std::vector< int > & | forwarderConnectionPorts, | ||
| unsigned int & | numExecConns, | ||
| unsigned int & | numForwarderClientConns, | ||
| std::vector< MAKRti::DtString > & | clientConnectionNames, | ||
| std::vector< MAKRti::DtString > & | clientConnectionTypeNames, | ||
| std::vector< MAKRti::DtString > & | clientConnectionProcessNames, | ||
| std::vector< MAKRti::DtString > & | clientConnectionPIDs, | ||
| std::vector< MAKRti::DtString > & | clientConnectionCommandArgs, | ||
| std::vector< MAKRti::DtString > & | clientConnectionHostNames, | ||
| std::vector< MAKRti::DtInetAddr > & | clientConnectionAddrs, | ||
| std::vector< MAKRti::DtString > & | clientConnectionFederationNames, | ||
| std::vector< int > & | clientFederateHandles, | ||
| std::vector< unsigned > & | clientConnIds, | ||
| std::vector< int > & | clientConnectionQueueStatus, | ||
| std::vector< DtHlaVersionId > & | clientHlaVersions, | ||
| std::vector< DtAssistantMsgFederateStatus > & | clientFederateStat | ||
| ) | const |
References clientAddrs(), clientCommandArgs(), clientConnectionIds(), clientConnectionQueueStatus(), clientFederateHandles(), clientFederateStatus(), clientFederationNames(), clientHlaVersions(), clientHostNames(), clientNames(), clientPIDs(), clientProcessNames(), clientTypes(), forwarderAddrs(), forwarderHostNames(), forwarderIds(), forwarderPorts(), numClientConnections(), numClientConnectionsThatAreExecs(), and numForwarderToForwarderConnections().
Referenced by toString(), and DtAssistantForwarderInfo::updateFromStateMsg().
|
protectedvirtual |
Returns the kind of a DtNetAssistantForwarderStateMsg message.
Implements DtAssistantMsg.
References DtAssistantForwarderStateMsgKind.
Referenced by DtAssistantForwarderStateMsg().
|
protectedvirtual |
Returns minimum size of a message, including header.
Referenced by DtAssistantForwarderStateMsg().
|
protectedvirtual |
The network representation for the message.
Referenced by addressFamily(), clientCommandArgsSize(), clientFederationNamesSize(), clientHostNamesSize(), clientNamesSize(), clientPIDsSize(), clientProcessNamesSize(), clientTypesSize(), clone(), forwarderAddrsPtr(), forwarderHostNamesSize(), forwarderIdsSize(), numClientConnections(), numClientConnectionsThatAreExecs(), numForwarderToForwarderConnections(), setAddressFamily(), setClientCommandArgsSize(), setClientFederationNamesSize(), setClientHostNamesSize(), setClientNamesSize(), setClientPIDsSize(), setClientProcessNamesSize(), setClientTypesSize(), setForwarderHostNamesSize(), setForwarderIdsSize(), setNumClientConnections(), setNumClientConnectionsThatAreExecs(), and setNumForwarderToForwarderConnections().
|
protectedvirtual |
|
virtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numClientConnections.
Referenced by clientAddrs(), clientCommandArgs(), clientConnectionIds(), clientConnectionIdsPtr(), clientConnectionQueueStatus(), clientConnectionQueueStatusPtr(), clientFederateHandles(), clientFederateStatus(), clientFederateStatusPtr(), clientFederationNames(), clientHlaVersions(), clientHlaVersionsPtr(), clientHostNames(), clientNames(), clientPIDs(), clientProcessNames(), clientTypes(), forwarderIdsPtr(), forwarderPortsPtr(), getAllData(), printData(), setAllData(), setClientAddrs(), setClientCommandArgs(), setClientConnectionIds(), setClientConnectionQueueStatus(), setClientFederateHandles(), setClientFederateStatus(), setClientFederationNames(), setClientHlaVersions(), setClientHostNames(), setClientNames(), setClientPIDs(), setClientProcessNames(), setClientTypes(), and DtAssistantForwarderInfo::updateFromStateMsg().
|
virtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numExecConns.
Referenced by getAllData(), and DtAssistantForwarderInfo::updateFromStateMsg().
|
virtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numForwarderToForwarderConnections.
Referenced by clientAddrsPtr(), clientFederateHandlesPtr(), forwarderAddrs(), forwarderHostNames(), forwarderIds(), forwarderPorts(), getAllData(), printData(), setAllData(), setForwarderAddrs(), setForwarderHostNames(), setForwarderIds(), setForwarderPorts(), and DtAssistantForwarderInfo::updateFromStateMsg().
|
virtual |
Print the data section.
Reimplemented from DtAssistantMsg.
References numClientConnections(), and numForwarderToForwarderConnections().
|
static |
References DtAssistantForwarderStateMsgKind, and DtRtiAssistantServer::removeMsgCallback().
Referenced by DtAssistantNetworkCompInfoMgr::~DtAssistantNetworkCompInfoMgr().
|
static |
References DtAssistantForwarderStateMsgKind, and DtRtiAssistantPeer::removeMsgCallback().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::inetAddrFamily, and netAssistantForwarderStateMsg().
Referenced by setAllData().
| bool DtAssistantForwarderStateMsg::setAllData | ( | unsigned int | numForwarderToForwarderConns, |
| const std::vector< MAKRti::DtString > & | forwarderIdentifiers, | ||
| const std::vector< MAKRti::DtString > & | forwarderConnectionHostNames, | ||
| const std::vector< MAKRti::DtInetAddr > & | forwarderConnectionAddrs, | ||
| const std::vector< int > & | forwarderConnectionPorts, | ||
| unsigned int | numExecConns, | ||
| unsigned int | numForwarderClientConns, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionNames, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionTypeNames, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionProcessNames, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionPIDs, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionCommandArgs, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionHostNames, | ||
| const std::vector< MAKRti::DtInetAddr > & | clientConnectionAddrs, | ||
| const std::vector< MAKRti::DtString > & | clientConnectionFederationNames, | ||
| const std::vector< int > & | clientFederateHandles, | ||
| const std::vector< unsigned > & | clientConnIds, | ||
| const std::vector< int > & | clientConnectionQueueStatus, | ||
| const std::vector< DtHlaVersionId > & | clientHlaVersions, | ||
| const std::vector< DtAssistantMsgFederateStatus > & | clientConnectionFederateStatus | ||
| ) |
References clientCommandArgsSize(), clientFederationNamesSize(), clientHostNamesSize(), clientPIDsSize(), clientProcessNamesSize(), clientTypesSize(), forwarderAddrsPtr(), forwarderHostNamesSize(), forwarderIdsSize(), rti1516e::insertBytes(), numClientConnections(), numForwarderToForwarderConnections(), setAddressFamily(), setClientAddrs(), setClientCommandArgs(), setClientCommandArgsSize(), setClientConnectionIds(), setClientConnectionQueueStatus(), setClientFederateHandles(), setClientFederateStatus(), setClientFederationNames(), setClientFederationNamesSize(), setClientHlaVersions(), setClientHostNames(), setClientHostNamesSize(), setClientNames(), setClientNamesSize(), setClientPIDs(), setClientPIDsSize(), setClientProcessNames(), setClientProcessNamesSize(), setClientTypes(), setClientTypesSize(), setForwarderAddrs(), setForwarderHostNames(), setForwarderHostNamesSize(), setForwarderIds(), setForwarderIdsSize(), setNumClientConnections(), setNumClientConnectionsThatAreExecs(), and setNumForwarderToForwarderConnections().
Referenced by DtRtiAssistantForwarderClient::sendFullForwarderInfo().
|
protectedvirtual |
References clientAddrsPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientCommandArgsPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientCommandArgSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientConnectionIdsPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientConnectionQueueStatusPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientFederateHandlesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientFederateStatusPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientFederationNamesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientFederationNameSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientHlaVersionsPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References clientHostNamesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientHostNameSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientNamesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientNameSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientPIDsPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientPIDSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientProcessNamesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientProcessNameSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References clientTypesPtr(), and numClientConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::clientTypeSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References forwarderAddrsPtr(), and numForwarderToForwarderConnections().
Referenced by setAllData().
|
protectedvirtual |
References forwarderHostNamesPtr(), and numForwarderToForwarderConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::forwarderHostsSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References forwarderIdsPtr(), and numForwarderToForwarderConnections().
Referenced by setAllData().
|
protectedvirtual |
References DtNetAssistantForwarderStateMsg::forwarderIdsSize, and netAssistantForwarderStateMsg().
Referenced by setAllData().
|
protectedvirtual |
References forwarderPortsPtr(), and numForwarderToForwarderConnections().
|
protectedvirtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numClientConnections.
Referenced by setAllData().
|
protectedvirtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numExecConns.
Referenced by setAllData().
|
protectedvirtual |
References netAssistantForwarderStateMsg(), and DtNetAssistantForwarderStateMsg::numForwarderToForwarderConnections.
Referenced by setAllData().
| DtString DtAssistantForwarderStateMsg::toString | ( | ) | const |
References clientConnectionQueueStatus(), clientFederateHandles(), clientFederateStatus(), clientHlaVersions(), and getAllData().
Referenced by DtAssistantNetworkCompInfoMgr::handleRtiCommands().