![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Stores the information on an RTI connection known by the Assistant. More...
Collaboration diagram for DtRtiConnectionInfo:Public Member Functions | |
| DtRtiConnectionInfo () | |
| Constructor. | |
| DtRtiConnectionInfo (const MAKRti::DtString &hostname, int udpPort, int tcpPort, const MAKRti::DtInetAddr &bestEffortAddress, const MAKRti::DtInetAddr &interfaceAddr, int forwarderPort) | |
| rtiexec connection constructors | |
| DtRtiConnectionInfo (const MAKRti::DtInetAddr &reliableAddress, int udpPort, int tcpPort, const MAKRti::DtInetAddr &bestEffortAddress, const MAKRti::DtInetAddr &interfaceAddr, int forwarderPort) | |
| DtRtiConnectionInfo (const MAKRti::DtInetAddr &bestEffortAddress, int port, const MAKRti::DtInetAddr &interfaceAddr) | |
| Lightweight connection constructor. | |
| DtRtiConnectionInfo (const DtHostNameAddress &host, int udpPort, int tcpPort, const MAKRti::DtInetAddr &bestEffortAddress, bool useRtiexec, const MAKRti::DtInetAddr &interfaceAddr, int forwarderPort) | |
| Constructor to set all values explicitly. | |
| virtual | ~DtRtiConnectionInfo () |
| Destructor. | |
| virtual bool | operator< (const DtRtiConnectionInfo &other) const |
| Less than operator. | |
| virtual bool | operator== (const DtRtiConnectionInfo &other) const |
| Equals operator. | |
| virtual bool | operator!= (const DtRtiConnectionInfo &other) const |
| Not equals operator. | |
| virtual DtRtiConnectionInfo & | operator= (const DtRtiConnectionInfo &other) |
| Assignment operator. | |
| virtual bool | isEquivalentHost (const DtRtiConnectionInfo &other) const |
| Determines if another connection has an equivalent host, based on the IP address and host name and network interface address. | |
| virtual bool | isEquivalentHostAllInterfaces (const DtRtiConnectionInfo &other) const |
| Determines if another connection has an equivalent host, based on the IP address and host name, assuming the host is bound on all interfaces. | |
| virtual bool | isLocalHost () const |
| Determines if the host for this connection is the local machine, based on the IP address and host name. | |
| virtual bool | conflictsWith (const DtRtiConnectionInfo &other, MAKRti::DtString &reason) const |
| Returns true if the connection conflicts with this connection and sets a description of the reason for the conflict. | |
| virtual MAKRti::DtString | defaultName () const |
| Default name for this connection. | |
| virtual MAKRti::DtString | description () const |
| Returns a text description of this connection. | |
| virtual const MAKRti::DtInetAddr & | reliableIp () const |
| Returns IP address for reliable communication. | |
| virtual void | setReliableIp (const MAKRti::DtInetAddr &ip) |
| Sets the reliable IP address. | |
| virtual const MAKRti::DtInetAddr & | bestEffortIp () const |
| Returns IP address for best effort communication. | |
| virtual void | setBestEffortIp (const MAKRti::DtInetAddr &ip) |
| Sets the best effort IP address. | |
| virtual int | udpPort () const |
| Returns UDP port. | |
| virtual void | setUdpPort (int port) |
| Sets the UDP port. | |
| virtual int | tcpPort () const |
| Returns TCP port. | |
| virtual void | setTcpPort (int port) |
| Sets the TCP port. | |
| virtual MAKRti::DtString | hostName () const |
| Returns host name. | |
| virtual void | setHostName (const MAKRti::DtString &host) |
| Sets the host name. | |
| virtual const MAKRti::DtInetAddr & | networkInterfaceAddr () const |
| Returns the local network interface address to use for this connection. | |
| virtual void | setNetworkInterfaceAddr (const MAKRti::DtInetAddr &addr) |
| Sets the local network interface address to use for this connection. | |
| virtual bool | useRtiexec () const |
| Returns whether this connection uses an rtiexec. | |
| virtual void | setUseRtiexec (bool useExec) |
| Sets whether this connection uses an rtiexec. | |
| virtual int | forwarderPort () const |
| Returns the forwarder port. | |
| virtual void | setForwarderPort (int port) |
| Sets the port. | |
| virtual bool | isValid () const |
| Returns true if this connection info passes a basic validity check. | |
Static Public Member Functions | |
| static const DtRtiConnectionInfo & | invalidConn () |
| Returns an invalid connection. | |
| static void | setLocalIpAddresses (bool reset=false) |
| Sets the list of recognized local IP addresses. | |
| static const std::set < MAKRti::DtInetAddr > & | localIpAddresses () |
| Returns list of local IP addresses. | |
| static bool | localSupportsIPv4 (bool reset=false) |
| Returns whether any of the local interfaces support IPv4. | |
| static bool | localSupportsIPv6 (bool reset=false) |
| Returns whether any of the local interfaces support IPv6. | |
| static MAKRti::DtString | constructConnName (const DtHostNameAddress &hostname, int udpPort, int tcpPort, const MAKRti::DtInetAddr &bestEffortAddress, bool useRtiexec, const MAKRti::DtInetAddr &interfaceAddr, int forwarderPort) |
| Constructs the default connection name using the given parameters. | |
| static MAKRti::DtString | constructConnDescription (const DtHostNameAddress &hostname, int udpPort, int tcpPort, const MAKRti::DtInetAddr &bestEffortAddress, bool useRtiexec, const MAKRti::DtInetAddr &interfaceAddr, int forwarderPort) |
| Constructs the connection description text using the given parameters. | |
| static const MAKRti::DtInetAddr & | defaultReliableIp () |
| Returns the default parameters. | |
| static const MAKRti::DtInetAddr & | defaultBestEffortIp () |
| Returns the default parameters. | |
| static int | defaultLightweightPort () |
| Returns the default parameters. | |
| static int | defaultRtiexecPort () |
| Returns the default parameters. | |
| static const MAKRti::DtString & | defaultHostName () |
| Returns the default parameters. | |
| static const MAKRti::DtInetAddr & | defaultNetworkInterfaceAddr () |
| Returns the default parameters. | |
| static int | defaultForwarderPort () |
| Returns the default parameters. | |
Static Protected Member Functions | |
| static std::set < MAKRti::DtInetAddr > & | theLocalIpAddresses () |
| Returns a reference to a static map of local IP addresses to netmasks. | |
Protected Attributes | |
| MAKRti::DtInetAddr | myBestEffortIp |
| IP address for best effort transport. | |
| int | myUdpPort |
| UDP port for the connection. | |
| int | myTcpPort |
| TCP port for the connection. | |
| DtHostNameAddress | myHostNameAddress |
| Host of the rtiexec or forwarder. | |
| MAKRti::DtInetAddr | myNetworkInterfaceAddr |
| Local network interface address to use for this connection. | |
| bool | myUseRtiexec |
| Whether or not an rtiexec should be used. | |
| int | myForwarderPort |
| The port used by the forwarder to connect to other forwarders. | |
Stores the information on an RTI connection known by the Assistant.
| DtRtiConnectionInfo::DtRtiConnectionInfo | ( | ) |
Constructor.
References setLocalIpAddresses().
| DtRtiConnectionInfo::DtRtiConnectionInfo | ( | const MAKRti::DtString & | hostname, |
| int | udpPort, | ||
| int | tcpPort, | ||
| const MAKRti::DtInetAddr & | bestEffortAddress, | ||
| const MAKRti::DtInetAddr & | interfaceAddr, | ||
| int | forwarderPort | ||
| ) |
rtiexec connection constructors
References setLocalIpAddresses().
| DtRtiConnectionInfo::DtRtiConnectionInfo | ( | const MAKRti::DtInetAddr & | reliableAddress, |
| int | udpPort, | ||
| int | tcpPort, | ||
| const MAKRti::DtInetAddr & | bestEffortAddress, | ||
| const MAKRti::DtInetAddr & | interfaceAddr, | ||
| int | forwarderPort | ||
| ) |
References setLocalIpAddresses().
| DtRtiConnectionInfo::DtRtiConnectionInfo | ( | const MAKRti::DtInetAddr & | bestEffortAddress, |
| int | port, | ||
| const MAKRti::DtInetAddr & | interfaceAddr | ||
| ) |
Lightweight connection constructor.
References setLocalIpAddresses().
| DtRtiConnectionInfo::DtRtiConnectionInfo | ( | const DtHostNameAddress & | host, |
| int | udpPort, | ||
| int | tcpPort, | ||
| const MAKRti::DtInetAddr & | bestEffortAddress, | ||
| bool | useRtiexec, | ||
| const MAKRti::DtInetAddr & | interfaceAddr, | ||
| int | forwarderPort | ||
| ) |
Constructor to set all values explicitly.
References setLocalIpAddresses().
|
virtual |
Destructor.
|
virtual |
Returns IP address for best effort communication.
References myBestEffortIp.
Referenced by conflictsWith(), operator<(), operator=(), operator==(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), DtFederationsViewDialog::showForwarderInfo(), and DtFederationsViewDialog::showLightweightInfo().
|
virtual |
Returns true if the connection conflicts with this connection and sets a description of the reason for the conflict.
References bestEffortIp(), forwarderPort(), isEquivalentHost(), isEquivalentHostAllInterfaces(), myBestEffortIp, myForwarderPort, myNetworkInterfaceAddr, myTcpPort, myUdpPort, myUseRtiexec, networkInterfaceAddr(), tcpPort(), udpPort(), and useRtiexec().
Referenced by DtRtiConnectionAndConfiguration::willConflict().
|
static |
Constructs the connection description text using the given parameters.
References forwarderPort(), DtHostNameAddress::hostName(), and DtHostNameAddress::ip().
Referenced by description().
|
static |
Constructs the default connection name using the given parameters.
References DtHostNameAddress::hostName(), DtHostNameAddress::ip(), and DtHostNameAddress::isValid().
Referenced by defaultName().
|
static |
Returns the default parameters.
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
static |
Returns the default parameters.
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
static |
Returns the default parameters.
References DtGetLocalHostName().
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
static |
Returns the default parameters.
Referenced by DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
virtual |
Default name for this connection.
References constructConnName(), myBestEffortIp, myForwarderPort, myHostNameAddress, myNetworkInterfaceAddr, myTcpPort, myUdpPort, and myUseRtiexec.
Referenced by DtAssistantStateObserveMsg::printData(), and DtAssistantFederationStateMsg::printData().
|
static |
Returns the default parameters.
References DtDefaultInterfaceAddr().
Referenced by DtAssistantConnectionInfoMgr::DtAssistantConnectionInfoMgr(), DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
static |
Returns the default parameters.
References DtDefaultInterfaceAddr().
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
static |
Returns the default parameters.
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo(), and DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
|
virtual |
Returns a text description of this connection.
References constructConnDescription(), myBestEffortIp, myForwarderPort, myHostNameAddress, myNetworkInterfaceAddr, myTcpPort, myUdpPort, and myUseRtiexec.
Referenced by DtAssistantFederationsViewMgr::logConnectionInfo().
|
virtual |
Returns the forwarder port.
References myForwarderPort.
Referenced by conflictsWith(), constructConnDescription(), operator<(), operator=(), operator==(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), and DtFederationsViewDialog::showForwarderInfo().
|
virtual |
Returns host name.
References DtHostNameAddress::hostName(), and myHostNameAddress.
Referenced by DtAssistantLrcConnQueryWidget::isKnownAssistant(), DtAssistantFederationsViewMgr::saveToLog(), and DtFederationsViewDialog::showForwarderInfo().
|
static |
Returns an invalid connection.
Referenced by DtAssistantLrcConnQueryWidget::cancelStartAndConnect(), DtAssistantFederationsViewMgr::changeViewedConnection(), DtAssistantConnQueryWidget::getSelectedConnection(), DtAssistantRtiexecConnQueryWidget::loadLocalInterfaceList(), DtAssistantLrcConnQueryWidget::loadLocalInterfaceList(), DtFederationsViewDialog::processConnectionSelection(), DtAssistantConnQueryMgr::processConnQueryMsg(), DtAssistantLatencyTestMgr::processLatencyTestDismiss(), DtAssistantFederationsViewMgr::showFederationsView(), DtAssistantFederationsViewMgr::tick(), DtAssistantLrcConnQueryWidget::updateDisplayedConnection(), DtAssistantFederationsInfoMgr::viewFederationsForConnection(), and DtAssistantNetworkCompInfoMgr::viewNetworkComponentsForConnection().
|
virtual |
Determines if another connection has an equivalent host, based on the IP address and host name and network interface address.
References DtHostNameAddress::compareHostName(), DtHostNameAddress::ip(), isLocalHost(), DtHostNameAddress::isValid(), myHostNameAddress, myNetworkInterfaceAddr, and networkInterfaceAddr().
Referenced by conflictsWith(), operator<(), operator=(), and operator==().
|
virtual |
Determines if another connection has an equivalent host, based on the IP address and host name, assuming the host is bound on all interfaces.
References isLocalHost(), and myHostNameAddress.
Referenced by conflictsWith().
|
virtual |
Determines if the host for this connection is the local machine, based on the IP address and host name.
References DtHostNameAddress::isLocal(), and myHostNameAddress.
Referenced by isEquivalentHost(), and isEquivalentHostAllInterfaces().
|
virtual |
Returns true if this connection info passes a basic validity check.
References DtHostNameAddress::isValid(), myBestEffortIp, myHostNameAddress, myTcpPort, myUdpPort, and myUseRtiexec.
Referenced by DtAssistantFederationsViewMgr::changeViewedConnection(), DtFederationsViewDialog::enableOrDisableMenuActions(), DtAssistantFederationsViewMgr::logConnectionInfo(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantFederationsViewMgr::processForwarderUpdated(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantFederationsViewMgr::saveToLog(), DtAssistantConnQueryWidget::selectConnection(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantFederationsViewMgr::sendLogRequest(), DtAssistantFederationsViewMgr::sendNetworkTestingDisableMsg(), DtAssistantFederationsViewMgr::sendNetworkTestingEnableMsg(), DtAssistantFederationsInfoMgr::sendObserveFederationsMsg(), DtAssistantNetworkCompInfoMgr::sendObserveForwarderMsg(), DtAssistantConnQueryWidget::setConnections(), DtFederationsViewDialog::setViewedConnectionDescription(), DtAssistantFederationsViewMgr::showFederateLog(), DtAssistantFederationsViewMgr::showForwarderLog(), DtAssistantFederationsViewMgr::showForwarderRidParams(), DtAssistantFederationsViewMgr::showRtiexecLog(), DtAssistantFederationsViewMgr::showRtiexecRidParams(), DtAssistantFederationsViewMgr::shutdownRtiexec(), DtAssistantFederationsViewMgr::shutdownRtiForwarder(), DtAssistantFederationsViewMgr::tick(), DtAssistantFederationsInfoMgr::viewFederationsForConnection(), and DtAssistantNetworkCompInfoMgr::viewNetworkComponentsForConnection().
|
inlinestatic |
Returns list of local IP addresses.
References theLocalIpAddresses().
Referenced by DtRtiAssistantPeer::addSocketsForInterfaces(), DtAssistantConnQueryMgr::checkForInterfaces(), DtAssistantRtiexecConnQueryWidget::loadLocalInterfaceList(), DtAssistantLrcConnQueryWidget::loadLocalInterfaceList(), DtAssistantConnQueryMgr::processConnQueryMsg(), DtAssistantConnectionInfoMgr::processInterfaceFound(), and DtAssistantConnectionInfoMgr::tick().
|
static |
Returns whether any of the local interfaces support IPv4.
References theLocalIpAddresses().
Referenced by DtRtiAssistant::DtRtiAssistant(), and setLocalIpAddresses().
|
static |
Returns whether any of the local interfaces support IPv6.
References theLocalIpAddresses().
Referenced by DtRtiAssistant::DtRtiAssistant(), and setLocalIpAddresses().
|
virtual |
Returns the local network interface address to use for this connection.
References myNetworkInterfaceAddr.
Referenced by conflictsWith(), isEquivalentHost(), DtAssistantLrcConnQueryWidget::isKnownAssistant(), DtAssistantRtiexecConnQueryWidget::loadLocalInterfaceList(), DtAssistantLrcConnQueryWidget::loadLocalInterfaceList(), operator<(), operator=(), operator==(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtRtiAssistantPeer::sendObserveFederationsMsg(), DtFederationsViewDialog::showForwarderInfo(), and DtFederationsViewDialog::showLightweightInfo().
|
virtual |
Not equals operator.
|
virtual |
Less than operator.
Comparisons are based on the following parameters in the order listed: 1) Lightweight connections are "less than" rtiexec connections 2) For lightweight connections: best effort IP and port 3) For rtiexec connections: host name or IP address (host name is used if available, though it is resolved to an IP and that is used as the actual value for comparison), port, best effort IP, forwarder port
References bestEffortIp(), forwarderPort(), isEquivalentHost(), myBestEffortIp, myForwarderPort, myHostNameAddress, myNetworkInterfaceAddr, myTcpPort, myUdpPort, myUseRtiexec, networkInterfaceAddr(), tcpPort(), udpPort(), and useRtiexec().
|
virtual |
Assignment operator.
If the connections have equivalent hosts and the host name is already set, it will not be overwritten.
References bestEffortIp(), forwarderPort(), DtHostNameAddress::hostName(), isEquivalentHost(), DtHostNameAddress::isValid(), myBestEffortIp, myForwarderPort, myHostNameAddress, myNetworkInterfaceAddr, myTcpPort, myUdpPort, myUseRtiexec, networkInterfaceAddr(), reliableIp(), DtHostNameAddress::setHostName(), DtHostNameAddress::setIp(), tcpPort(), udpPort(), and useRtiexec().
|
virtual |
Equals operator.
References bestEffortIp(), forwarderPort(), isEquivalentHost(), myBestEffortIp, myForwarderPort, myNetworkInterfaceAddr, myTcpPort, myUdpPort, myUseRtiexec, networkInterfaceAddr(), tcpPort(), udpPort(), and useRtiexec().
|
virtual |
Returns IP address for reliable communication.
References DtHostNameAddress::ip(), and myHostNameAddress.
Referenced by DtAssistantLrcConnQueryWidget::isKnownAssistant(), operator=(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), and DtFederationsViewDialog::showForwarderInfo().
|
virtual |
Sets the best effort IP address.
References myBestEffortIp.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets the port.
References myForwarderPort.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets the host name.
References myHostNameAddress, and DtHostNameAddress::setHostName().
Referenced by DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
static |
Sets the list of recognized local IP addresses.
If the set of local IP addresses has already been created it will not be reset unless the reset flag is true.
References DtEnumerateInterfaces(), localSupportsIPv4(), localSupportsIPv6(), and theLocalIpAddresses().
Referenced by DtRtiAssistantPeer::addSocketsForInterfaces(), DtAssistantConnQueryMgr::checkForInterfaces(), DtRtiAssistant::DtRtiAssistant(), and DtRtiConnectionInfo().
|
virtual |
Sets the local network interface address to use for this connection.
References myNetworkInterfaceAddr.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets the reliable IP address.
References myHostNameAddress, and DtHostNameAddress::setIp().
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets the TCP port.
References myTcpPort.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets the UDP port.
References myUdpPort.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Sets whether this connection uses an rtiexec.
References myUseRtiexec.
Referenced by DtAssistantStateObserveMsg::getConnection(), DtAssistantFederationStateMsg::getConnection(), DtAssistantComponentMgr::processLrcCompInfoMsg(), DtAssistantComponentMgr::processRtiexecCompInfoMsg(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().
|
virtual |
Returns TCP port.
References myTcpPort.
Referenced by conflictsWith(), operator<(), operator=(), operator==(), DtAssistantFederationsViewMgr::saveToLog(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), and DtFederationsViewDialog::showForwarderInfo().
|
staticprotected |
Returns a reference to a static map of local IP addresses to netmasks.
This is a shallow wrapper function which is provided to guarantee the std::map is initialized. Please note that this class is only used by the assistant, which is single threaded. If this class is ever used by a multithreaded application, this static member should be mutex protected.
Referenced by localIpAddresses(), localSupportsIPv4(), localSupportsIPv6(), and setLocalIpAddresses().
|
virtual |
Returns UDP port.
References myUdpPort.
Referenced by conflictsWith(), operator<(), operator=(), operator==(), DtAssistantFederationsViewMgr::saveToLog(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), DtFederationsViewDialog::showForwarderInfo(), and DtFederationsViewDialog::showLightweightInfo().
|
virtual |
Returns whether this connection uses an rtiexec.
References myUseRtiexec.
Referenced by DtAssistantFederationsViewMgr::changeViewedConnection(), conflictsWith(), DtAssistantFederationsViewMgr::destroyFederation(), DtFederationsViewDialog::enableOrDisableMenuActions(), DtAssistantLrcConnQueryWidget::findConnInTree(), operator<(), operator=(), operator==(), DtAssistantFederationsViewMgr::processFederateRemoved(), DtAssistantFederationsViewMgr::processFederateUpdated(), DtAssistantFederationsViewMgr::processFederationRemoved(), DtAssistantFederationsViewMgr::processFederationUpdate(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFederationsViewMgr::resignFederate(), DtAssistantFederationsViewMgr::saveToLog(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantPeer::sendFederateInfoRespMsg(), DtAssistantFederationsViewMgr::sendNetworkTestingDisableMsg(), DtAssistantFederationsViewMgr::sendNetworkTestingEnableMsg(), DtAssistantFederationsInfoMgr::sendObserveFederationsMsg(), DtAssistantStateObserveMsg::setConnection(), DtAssistantFederationStateMsg::setConnection(), DtFederationsViewDialog::setViewedConnectionDescription(), DtAssistantFederationsViewMgr::showForwarderLog(), DtAssistantFederationsViewMgr::showForwarderRidParams(), DtAssistantFederationsViewMgr::showLatencyTestDialog(), DtAssistantFederationsViewMgr::showRtiexecLog(), DtAssistantFederationsViewMgr::showRtiexecRidParams(), and DtAssistantFederationsInfoMgr::viewFederationsForConnection().
|
protected |
IP address for best effort transport.
Referenced by bestEffortIp(), conflictsWith(), defaultName(), description(), isValid(), operator<(), operator=(), operator==(), and setBestEffortIp().
|
protected |
The port used by the forwarder to connect to other forwarders.
Referenced by conflictsWith(), defaultName(), description(), forwarderPort(), operator<(), operator=(), operator==(), and setForwarderPort().
|
protected |
Host of the rtiexec or forwarder.
Referenced by defaultName(), description(), hostName(), isEquivalentHost(), isEquivalentHostAllInterfaces(), isLocalHost(), isValid(), operator<(), operator=(), reliableIp(), setHostName(), and setReliableIp().
|
protected |
Local network interface address to use for this connection.
Referenced by conflictsWith(), defaultName(), description(), isEquivalentHost(), networkInterfaceAddr(), operator<(), operator=(), operator==(), and setNetworkInterfaceAddr().
|
protected |
TCP port for the connection.
Referenced by conflictsWith(), defaultName(), description(), isValid(), operator<(), operator=(), operator==(), setTcpPort(), and tcpPort().
|
protected |
UDP port for the connection.
Referenced by conflictsWith(), defaultName(), description(), isValid(), operator<(), operator=(), operator==(), setUdpPort(), and udpPort().
|
protected |
Whether or not an rtiexec should be used.
Referenced by conflictsWith(), defaultName(), description(), isValid(), operator<(), operator=(), operator==(), setUseRtiexec(), and useRtiexec().