![]() |
MAK RTIspy API Documentation for HLA 1516
|
Collaboration diagram for DtRouteMap:Public Types | |
| typedef std::vector < DtInetAddrAndPort > | DtAddressPortList |
| typedef std::vector < MAKRti::DtInetAddr > | DtAddressList |
| typedef std::vector < MAKRti::DtString > | DtNodeList |
| typedef std::set < MAKRti::DtInetAddr > | DtInterfaceAddrSet |
| typedef std::vector < DtRtiForwarderGroup * > | DtForwarderGroupList |
| typedef DtBoost::shared_ptr < DtRouteMap >(* | DtRouteMapCreatorFcn )(const DtRIDParameters *, const MAKRti::DtInetAddr &) |
| DtForwarderPort creator signature. | |
Public Member Functions | |
| virtual void | rebuildRoutes () |
| when the routes file is first read, or if a forwarder is added/ or removed, we should rebuild our routes. | |
| virtual bool | isConfiguredViaRoutesFile () const |
| Indicate if this route map was built from a configuration file. | |
| virtual bool | isEmpty () const |
| virtual | ~DtRouteMap () |
| virtual DtNodeList | nodeNames () const |
| Get the complete list of nodes recognized by this DtRouteMap. | |
| virtual DtAddressPortList | nodeAddresses () const |
| virtual unsigned long | nodeIdByAddress (const DtInetAddrAndPort &address) const |
| virtual unsigned long | nodeIdByName (const MAKRti::DtString &name) const |
| virtual void | setLocalNodeId (unsigned long newId) |
| virtual unsigned long | localNodeId () const |
| unsigned long | lowestNodeId () const |
| returns the lowest known node Id. | |
| virtual unsigned long | consumeNextAvailableNodeId () |
| returns the lowest known node Id and increments internal counter. | |
| virtual MAKRti::DtString | nodeNameByAddress (const DtInetAddrAndPort &address) const |
| virtual MAKRti::DtString | nodeHostNameByAddres (const DtInetAddrAndPort &address) const |
| virtual DtInetAddrAndPort | nodeAddress (const MAKRti::DtString &name) const |
| virtual const MAKRti::DtString & | localNodeName () const |
| virtual DtForwarderGroupList | forwarderGroups () const |
| Get a list of the recognized Forwarder Groups. | |
| virtual DtRtiForwarderGroup * | localGroup () const |
| Get a pointer to the local Forwarder Group. | |
| virtual void | setForwarderPort (unsigned int port) |
| Get/Set the forwarder port (generally set via the RID file) | |
| virtual unsigned int | forwarderPort () const |
| virtual void | setForwarderInterfaceAddr (const MAKRti::DtInetAddr &addr) |
| Get/Set the forwarder interface address (generally set via the routes file) | |
| virtual const MAKRti::DtInetAddr & | forwarderInterfaceAddr () const |
| virtual DtAddressPortList | adjacencyList (const DtInetAddrAndPort &node) const |
| Get the list of all nodes directly connected to node. | |
| virtual DtAddressPortList | adjacencyList (const MAKRti::DtString &node) const |
| virtual void | destinationList (DtAddressPortList &destinations, const DtInetAddrAndPort &srcNode, const DtInetAddrAndPort &linkNode) const |
| Add the list of destinations for msgs from source node through link node to the destination list supplied in the first argument. | |
| virtual void | destinationList (DtAddressPortList &destinations, const MAKRti::DtString &srcNode, const MAKRti::DtString &linkNode) const |
| virtual void | allLinkDestinations (DtAddressPortList &destinations, const DtInetAddrAndPort &node) const |
| Add the list of upstream / downstream destinations for the specified source node to the destination list supplied in the first argument. | |
| virtual void | allLinkDestinations (DtAddressPortList &destinations, const MAKRti::DtString &node) const |
| virtual void | foreignPortalDestinations (DtAddressPortList &destinations, const DtInetAddrAndPort &node) const |
| Add the list of portals in foreign Forwarder Groups to which the specified node will forward messages to the destination list supplied in the first argument. | |
| virtual void | foreignPortalDestinations (DtAddressPortList &destinations, const MAKRti::DtString &node) const |
| virtual void | foreignGroupConnections (DtAddressPortList &foreignNodes, const DtInetAddrAndPort &node) const |
| Add the list of forwarders in foreign Forwarder Groups which have a connection to the specified node to the node list supplied in the first argument. | |
| virtual void | foreignGroupConnections (DtAddressPortList &foreignNodes, const MAKRti::DtString &node) const |
| virtual void | localGroupDestinations (DtAddressPortList &destinations, const DtInetAddrAndPort &node) const |
| Add the list of other forwarders in the local Forwarder Group to the destination list supplied in the first argument. | |
| virtual void | localGroupDestinations (DtAddressPortList &destinations, const MAKRti::DtString &node) const |
| virtual const DtInterfaceAddrSet & | getInterfaceAddrs () const |
| Get the complete list of localhost interface addresses. | |
| virtual bool | addForwarder (const MAKRti::DtString &forwarderName, const MAKRti::DtInetAddr &forwarderAddr, int port) |
| Add a new Forwarder to the list by name and address and port. | |
| virtual bool | addLocalForwarder (const MAKRti::DtString &forwarderName, const MAKRti::DtInetAddr &forwarderAddr, int port) |
| Add self Forwarder to the list by name and address and port. | |
| virtual bool | removeForwarder (const DtInetAddrAndPort &addr) |
| Remove a forwarder from the known routes. | |
| virtual bool | addForwarderConnection (const MAKRti::DtString &forwarderNameA, const MAKRti::DtString &forwarderNameB) |
| Add a new Connection between two forwarders A<->B by name Returns false if forwarder name is unrecognized. | |
| virtual bool | addForeignPortalConnection (const MAKRti::DtString &forwarder) |
| Add a new connection from the local forwarder to a portal in a foreign forwarder group by name. | |
| virtual bool | addForeignForwarderConnection (const MAKRti::DtString &forwarder) |
| Add a new connection to a forwarder in a foreign forwarder group by name This should only be invoked by a portal forwarder. | |
| virtual bool | addLocalGroupConnection (const MAKRti::DtString &peerForwarder) |
| Add a new connection between the local forwarder and another member of the same Forwarder Group. | |
| virtual bool | addForwarderRoute (const MAKRti::DtString &linkForwarderName, const MAKRti::DtString &forwarderNameA, const MAKRti::DtString &forwarderNameB) |
| Create a new forwarding route between two forwarders through a third Connection is unidirectional, the reverse link must also be added if desired i.e. | |
| virtual bool | addInterfaceAddr (const MAKRti::DtInetAddr &interfaceAddr) |
| Add a new NIC address to the list of localhost addresses Returns false if address is invalid or a duplicate. | |
| virtual DtRtiForwarderGroup * | addForwarderGroup (const MAKRti::DtString &groupName) |
| Add a new load balancing / fault tolerance Forwarder Group. | |
| virtual bool | addForwarderToGroup (const MAKRti::DtString &groupName, const MAKRti::DtString &forwarderName, const MAKRti::DtString &url, int isPortal) |
| Add a forwarder to an established Forwarder Group. | |
| virtual bool | enableDistributedUdpForwarding (const MAKRti::DtString &forwarder) |
| Maintain a list of forwarders allowed to listen to and forward multicast messages when Distributed UDP Forwarding is enabled. | |
| virtual bool | isMulticastMonitoringAllowed () const |
| Return true if forwarder node is in the list of forwarders allowed to listen to and forward multicast messages. | |
| virtual bool | enableCompression (const MAKRti::DtString &forwarder, int level) |
| Enables compression from this forwarder to the given forwarder (only if this forwarder is configured to establish a connection to the forwarder). | |
| virtual bool | enableBundling (const MAKRti::DtString &forwarder, int bundleSize) |
| Enables bundling from this forwarder to the given forwarder (only if this forwarder is configured to establish a connection to the forwarder). | |
| virtual int | compressionLevel (const DtInetAddrAndPort &forwarder) |
| Returns the compression level for the given forwarder, or 0 if this forwarder connection should not be compressed. | |
| virtual int | bundleSize (const DtInetAddrAndPort &forwarder) |
| Returns the packet bundle size for the given forwarder, or 0 if this forwarder connection should not be bundled. | |
| virtual bool | isLocalGroupMember (const DtInetAddrAndPort &forwarder) const |
| Determine if the specified address belongs to a forwarder of the local Forwarder Group. | |
| virtual DtInetAddrAndPort | locatePortal (const DtInetAddrAndPort &targetNode) const |
| Find the portal forwarder for the group which the targeted node belongs to. | |
| virtual DtInetAddrAndPort | locatePortal (const MAKRti::DtString &targetGroupName) const |
| virtual DtInetAddrAndPort | nextForwarderOnRoute (const DtInetAddrAndPort &targetNode) const |
| Find the next forwarder in the route to the group which the targeted belongs to. | |
| virtual DtInetAddrAndPort | nextForwarderOnRoute (const MAKRti::DtString &targetGroupName) const |
| virtual bool | forwardRtiexecMsgs () const |
| Returns true if this forwarder should forward messages received from other forwarders which are destined for the rtiexec to the next forwarder in the path to the rtiexec. | |
| virtual void | concatAddressList (DtAddressPortList &final, const DtAddressPortList &src) const |
| Append one address list (vector) to another, eliminating duplicates. | |
| virtual void | print () const |
| Output the Routing Table. | |
| virtual void | knownForwarderNodes (std::set< DtForwarderNodeInfo > &otherNodes) const |
| Retrieves the forwarders known by this forwarder. | |
| virtual void | addKnownForwarder (const MAKRti::DtInetAddr &addr, unsigned long nodeId, const MAKRti::DtString &fwName, const MAKRti::DtString &hostname, const std::set< DtForwarderNodeInfo > &peers) |
| Adds a known forwarder. Dynamic forwarder configuration only. | |
| virtual bool | updateForwarder (const MAKRti::DtInetAddr &fwAddr, unsigned long fwNodeId, const MAKRti::DtString &fwName, const MAKRti::DtString &fwHostName, const std::set< DtForwarderNodeInfo > &peers) |
| Updates a known forwarder. Dynamic forwarder configuration only. | |
| virtual void | updateForwarderNodeId (const MAKRti::DtInetAddr &fwAddr, unsigned long fwNodeId) |
| Updates the node ID of a known forwarder. Dynamic forwarder configuration only. | |
| virtual void | addAddressAlias (const MAKRti::DtInetAddr &knownAddr, const MAKRti::DtInetAddr &aliasAddr) |
| Adds another IP address alias for a known address. | |
| const MAKRti::DtInetAddr & | addressAlias (const MAKRti::DtInetAddr &knownAddr) const |
| Looks up the alias for a given address. | |
Static Public Member Functions | |
| static DtBoost::shared_ptr < DtRouteMap > | create (const DtRIDParameters *params, const MAKRti::DtInetAddr &fwAddrToConnectTo) |
| Creates an instance of a DtRouteMap. | |
| static void | setCreatorFunction (DtRouteMapCreatorFcn creator) |
| Call this function to set an alternate creator function With this function, users can replace this DtRouteMap with their own derived class. | |
Protected Types | |
| typedef std::map < DtInetAddrAndPort, MAKRti::DtString > | DtConnectionAddrToNameMap |
| typedef std::map < MAKRti::DtString, DtInetAddrAndPort > | DtConnectionNameToAddrMap |
| typedef std::pair< std::vector < MAKRti::DtString > , DtAddressPortList > | DtConnectionList |
| typedef std::map < DtInetAddrAndPort, DtConnectionList > | DtAddrToConnectionListMap |
| typedef std::multimap < DtInetAddrAndPort, DtInetAddrAndPort > | DtSrcToDestinationsMap |
| typedef std::map < DtInetAddrAndPort, DtInetAddrAndPort > | DtDestinationToLinkMap |
| typedef std::map < MAKRti::DtInetAddr, MAKRti::DtInetAddr > | DtInetAddrAliasMap |
| typedef std::map < DtInetAddrAndPort, DtSrcToDestinationsMap > | DtRoutingTable |
| typedef std::map < MAKRti::DtString, DtRtiForwarderGroup * > | DtGroupNameTable |
| typedef std::map < DtInetAddrAndPort, DtRtiForwarderGroup * > | DtForwarderGroupConnectionTable |
| typedef std::map < MAKRti::DtString, int > | DtForwarderCompressionMap |
| typedef std::map < MAKRti::DtString, int > | DtForwarderBundlingMap |
Protected Member Functions | |
| DtRouteMap (const DtRIDParameters *params, const MAKRti::DtInetAddr &additionalForwarder) | |
| virtual void | registerRoutesFileParams () |
| Register the commands to parse from the Routes file and calls openRoutesFile() to load the lisp file. | |
| virtual void | setupDefaultRoutes () |
| Setup the default network of forwarders if the routes file does not specify any router connections. | |
| virtual void | setupSinglePortalRoutes () |
| virtual void | setupLoadBalanceRoutes () |
| virtual void | openRoutesFile () |
| Open and Parse the route map file. | |
| virtual void | initializeInterfaceList () |
| Add the IP address of the default interface to the network adapter interface list. | |
| virtual DtForwarderGroupInterconnectMethod | setGroupInterconnectMethod (MAKRti::DtString methodString) |
| Convert the Forwarder Group Interconnect method string to the equivalent enumerated value. | |
| DtRouteMap () | |
| Default Ctor, Copy Ctor, Assignment - unimplemented. | |
| DtRouteMap (const DtRouteMap &orig) | |
| virtual void | setupNodeName () |
| DtRouteMap & | operator= (const DtRouteMap &orig) |
| virtual void | setupDestinationsMap () |
| Sets up the map from destinations to next forwarder in the route when routes are configured manually in the routes file. | |
Static Protected Attributes | |
| static DtRouteMapCreatorFcn | theCreator = 0 |
| typedef std::vector<MAKRti::DtInetAddr> DtRouteMap::DtAddressList |
| typedef std::vector< DtInetAddrAndPort > DtRouteMap::DtAddressPortList |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| typedef std::vector< DtRtiForwarderGroup* > DtRouteMap::DtForwarderGroupList |
|
protected |
|
protected |
| typedef std::set< MAKRti::DtInetAddr > DtRouteMap::DtInterfaceAddrSet |
| typedef std::vector< MAKRti::DtString > DtRouteMap::DtNodeList |
| typedef DtBoost::shared_ptr<DtRouteMap>(* DtRouteMap::DtRouteMapCreatorFcn)(const DtRIDParameters *, const MAKRti::DtInetAddr &) |
DtForwarderPort creator signature.
|
protected |
|
protected |
|
protected |
|
virtual |
References myEnv.
|
protected |
Default Ctor, Copy Ctor, Assignment - unimplemented.
Referenced by create().
|
protected |
|
virtual |
Adds another IP address alias for a known address.
This is necessary, for instance, when another forwarder is behind a router using NAT, such that this forwarder recognizes it as a different IP than what it recognizes itself as.
References myInetAddrAliases.
Referenced by setupNodeName().
|
virtual |
Add a new connection to a forwarder in a foreign forwarder group by name This should only be invoked by a portal forwarder.
Returns false if foreign forwarder name is unrecognized
References myForeignGroupConnections, myNameToAddrMap, and myNodeName.
Referenced by setupLoadBalanceRoutes(), and setupSinglePortalRoutes().
|
virtual |
Add a new connection from the local forwarder to a portal in a foreign forwarder group by name.
Returns false if foreign portal name is unrecognized.
References myForeignPortalConnections, myNameToAddrMap, and myNodeName.
Referenced by setupLoadBalanceRoutes(), and setupSinglePortalRoutes().
|
virtual |
Add a new Forwarder to the list by name and address and port.
If specified port is DtUseDefaultForwarderPort, the default forwarder port specified in the RID file is used. Returns false if attempted to add an existing name or ip/port
References DtUseDefaultForwarderPort, myAddrToNameMap, myLowestNodeIdIsDirty, myNameToAddrMap, and myParams.
Referenced by DtAddForwarderFunction().
|
virtual |
Add a new Connection between two forwarders A<->B by name Returns false if forwarder name is unrecognized.
References myConnectionsByAddr, and myNameToAddrMap.
Referenced by DtAddForwarderConnectionFunction().
|
virtual |
Add a new load balancing / fault tolerance Forwarder Group.
References create(), forwarderPort(), myForwarderGroups, and myGroupNameTable.
Referenced by DtAddForwarderGroupFunction(), and setupDefaultRoutes().
|
virtual |
Create a new forwarding route between two forwarders through a third Connection is unidirectional, the reverse link must also be added if desired i.e.
References myNameToAddrMap, and myRoutesByLinkAddrMap.
Referenced by DtAddForwarderRouteFunction().
|
virtual |
Add a forwarder to an established Forwarder Group.
References DtRtiForwarderGroup::addForwarderToGroup(), myConnectionToGroupMap, myDistributedForwarderPort, myGroupNameTable, myLocalForwarderGroup, myNameToAddrMap, and myNicAddrs.
Referenced by DtAddForwarderToGroupFunction(), and setupDefaultRoutes().
|
virtual |
Add a new NIC address to the list of localhost addresses Returns false if address is invalid or a duplicate.
References myNicAddrs.
Referenced by initializeInterfaceList().
|
virtual |
Adds a known forwarder. Dynamic forwarder configuration only.
References DtIsIpOfLocalInterface(), DtForwarderNodeInfo::myForwarderName, DtForwarderNodeInfo::myHostName, DtForwarderNodeInfo::myIpAddr, myKnownForwarderNodes, myNextAvailableNodeId, and DtForwarderNodeInfo::myNodeId.
Referenced by updateForwarder().
|
virtual |
Add self Forwarder to the list by name and address and port.
If specified port is DtUseDefaultForwarderPort, the default forwarder port specified in the RID file is used. Returns false if attempted to add an existing name or ip
References DtUseDefaultForwarderPort, myAddrToNameMap, myLowestNodeIdIsDirty, myNameToAddrMap, and myParams.
|
virtual |
Add a new connection between the local forwarder and another member of the same Forwarder Group.
Returns false if peer forwarder name is unrecognized
References myLocalGroupConnections, myNameToAddrMap, and myNodeName.
Referenced by setupDefaultRoutes().
|
inline |
Looks up the alias for a given address.
Return value will be INADDR_ANY if address could not be found in alias list.
References myInetAddrAliases.
Referenced by foreignPortalDestinations(), locatePortal(), and nextForwarderOnRoute().
|
virtual |
Get the list of all nodes directly connected to node.
References concatAddressList(), myConnectionsByAddr, myForeignGroupConnections, myForeignPortalConnections, and myLocalGroupConnections.
Referenced by adjacencyList().
|
virtual |
References adjacencyList(), and myNameToAddrMap.
|
virtual |
Add the list of upstream / downstream destinations for the specified source node to the destination list supplied in the first argument.
References concatAddressList(), and myConnectionsByAddr.
Referenced by allLinkDestinations().
|
virtual |
References allLinkDestinations(), and myNameToAddrMap.
|
virtual |
Returns the packet bundle size for the given forwarder, or 0 if this forwarder connection should not be bundled.
References myAddrToNameMap, and myBundledForwarders.
|
virtual |
Returns the compression level for the given forwarder, or 0 if this forwarder connection should not be compressed.
References myAddrToNameMap, and myCompressedForwarders.
|
virtual |
Append one address list (vector) to another, eliminating duplicates.
Referenced by adjacencyList(), allLinkDestinations(), foreignGroupConnections(), foreignPortalDestinations(), and localGroupDestinations().
|
virtual |
returns the lowest known node Id and increments internal counter.
References myNextAvailableNodeId.
|
static |
Creates an instance of a DtRouteMap.
References DtRouteMap(), and theCreator.
Referenced by addForwarderGroup(), and setCreatorFunction().
|
virtual |
Add the list of destinations for msgs from source node through link node to the destination list supplied in the first argument.
References myRoutesByLinkAddrMap.
Referenced by destinationList().
|
virtual |
References destinationList(), and myNameToAddrMap.
|
virtual |
Enables bundling from this forwarder to the given forwarder (only if this forwarder is configured to establish a connection to the forwarder).
References myBundledForwarders.
Referenced by DtEnableBundlingFunction().
|
virtual |
Enables compression from this forwarder to the given forwarder (only if this forwarder is configured to establish a connection to the forwarder).
References myCompressedForwarders.
Referenced by DtEnableCompressionFunction().
|
virtual |
Maintain a list of forwarders allowed to listen to and forward multicast messages when Distributed UDP Forwarding is enabled.
References myMulticastEnabledForwarderList.
Referenced by DtAllowMulticastForwardingFunction().
|
virtual |
Add the list of forwarders in foreign Forwarder Groups which have a connection to the specified node to the node list supplied in the first argument.
Note the naming convention – this is not called foreignGroupDestinations simply because the entries within it are not assumed to be destinations for forwarded messages, only a list of forwarders in other groups that are expected to send messages to this node.
References concatAddressList(), and myForeignGroupConnections.
Referenced by foreignGroupConnections().
|
virtual |
References foreignGroupConnections(), and myNameToAddrMap.
|
virtual |
Add the list of portals in foreign Forwarder Groups to which the specified node will forward messages to the destination list supplied in the first argument.
References addressAlias(), concatAddressList(), and myForeignPortalConnections.
Referenced by foreignPortalDestinations().
|
virtual |
References foreignPortalDestinations(), and myNameToAddrMap.
|
virtual |
|
inlinevirtual |
References myForwarderInterfaceAddr.
|
virtual |
References myDistributedForwarderPort.
Referenced by addForwarderGroup().
|
virtual |
Returns true if this forwarder should forward messages received from other forwarders which are destined for the rtiexec to the next forwarder in the path to the rtiexec.
For single portal and load balancing networks, this can cause a message to be routed to the rtiexec more than once. rtiexec message forwarding should therefore only occur in manually configured forwarder networks.
References DtFwderGroupInterconnectManual, and myGroupInterconnectMethod.
|
virtual |
Get the complete list of localhost interface addresses.
References myNicAddrs.
|
protectedvirtual |
Add the IP address of the default interface to the network adapter interface list.
References addInterfaceAddr(), DtEnumerateInterfaces(), myNicAddrs, myParams, and DtRIDParameters::networkInterfaceAddr().
Referenced by DtRouteMap().
|
virtual |
Indicate if this route map was built from a configuration file.
References myIsConfiguredViaRoutesFile.
Referenced by nodeIdByAddress().
|
virtual |
References myNameToAddrMap.
|
virtual |
Determine if the specified address belongs to a forwarder of the local Forwarder Group.
References DtRtiForwarderGroup::isMember(), and myLocalForwarderGroup.
|
virtual |
Return true if forwarder node is in the list of forwarders allowed to listen to and forward multicast messages.
References myIsConfiguredViaRoutesFile, myMulticastEnabledForwarderList, and myNodeName.
|
virtual |
Retrieves the forwarders known by this forwarder.
Dynamic forwarder configuration only.
References myKnownForwarderNodes.
|
virtual |
Get a pointer to the local Forwarder Group.
References myLocalForwarderGroup.
|
virtual |
Add the list of other forwarders in the local Forwarder Group to the destination list supplied in the first argument.
References concatAddressList(), and myLocalGroupConnections.
Referenced by localGroupDestinations().
|
virtual |
References localGroupDestinations(), and myNameToAddrMap.
|
virtual |
References myNodeId, and myNodeIdIsSet.
|
virtual |
References myNodeName.
|
virtual |
Find the portal forwarder for the group which the targeted node belongs to.
References addressAlias(), DtRtiForwarderGroup::isMember(), DtRtiForwarderGroup::members(), myForeignPortalConnections, myForwarderGroups, myLocalForwarderGroup, myNameToAddrMap, myNicAddrs, and myNodeName.
Referenced by nextForwarderOnRoute().
|
virtual |
| unsigned long DtRouteMap::lowestNodeId | ( | ) | const |
returns the lowest known node Id.
References myKnownForwarderNodes, myLowestNodeId, myLowestNodeIdIsDirty, and myNodeId.
|
virtual |
Find the next forwarder in the route to the group which the targeted belongs to.
References addressAlias(), locatePortal(), and myLinksByDestinationMap.
Referenced by nextForwarderOnRoute().
|
virtual |
|
virtual |
References myNameToAddrMap.
Referenced by print().
|
virtual |
References myAddrToNameMap.
|
virtual |
|
virtual |
|
virtual |
References myNameToAddrMap.
Referenced by DtRouteMap(), and nodeIdByAddress().
|
virtual |
References myAddrToNameMap.
Referenced by nodeHostNameByAddres(), and nodeIdByAddress().
|
virtual |
Get the complete list of nodes recognized by this DtRouteMap.
References myNameToAddrMap.
|
protectedvirtual |
Open and Parse the route map file.
References DtLocateConfigFile(), DtRIDParameters::forwarderRoutesFile(), myEnv, myParams, myRoutesFileName, and DtAssistantPopupHelper::popupAssistantMessage().
Referenced by registerRoutesFileParams().
|
protected |
|
virtual |
Output the Routing Table.
References DtFwderGroupInterconnectLoadBalance, DtFwderGroupInterconnectSinglePortal, forwarderGroups(), DtRtiForwarderGroup::forwarderIsAPortal(), DtRtiForwarderGroup::getForwarderAddrByName(), DtRtiForwarderGroup::groupName(), DtRtiForwarderGroup::members(), myAddrToNameMap, myConnectionsByAddr, myDistributedForwarderPort, myForeignGroupConnections, myForeignPortalConnections, myGroupInterconnectMethod, myLocalForwarderGroup, myLocalGroupConnections, myNodeName, myRoutesByLinkAddrMap, and nodeAddress().
Referenced by DtRouteMap().
|
virtual |
when the routes file is first read, or if a forwarder is added/ or removed, we should rebuild our routes.
References setupDefaultRoutes(), and setupNodeName().
|
protectedvirtual |
Register the commands to parse from the Routes file and calls openRoutesFile() to load the lisp file.
References DtAddForwarderConnectionFunction(), DtAddForwarderFunction(), DtAddForwarderGroupFunction(), DtAddForwarderRouteFunction(), DtAddForwarderToGroupFunction(), DtAllowMulticastForwardingFunction(), DtEnableBundlingFunction(), DtEnableCompressionFunction(), myEnv, myGroupInterconnectMethod, myIsConfiguredViaRoutesFile, openRoutesFile(), setForwarderInterfaceAddr(), setGroupInterconnectMethod(), and theParent.
Referenced by DtRouteMap().
|
virtual |
Remove a forwarder from the known routes.
returns whether it was successfully removed
References myAddrToNameMap, DtForwarderNodeInfo::myIpAddr, myKnownForwarderNodes, myLowestNodeIdIsDirty, and myNameToAddrMap.
|
static |
Call this function to set an alternate creator function With this function, users can replace this DtRouteMap with their own derived class.
References create(), DtBindCreator(), and theCreator.
|
inlinevirtual |
Get/Set the forwarder interface address (generally set via the routes file)
References myForwarderInterfaceAddr.
Referenced by registerRoutesFileParams().
|
virtual |
Get/Set the forwarder port (generally set via the RID file)
References myDistributedForwarderPort.
|
protectedvirtual |
Convert the Forwarder Group Interconnect method string to the equivalent enumerated value.
References DtFwderGroupInterconnectLoadBalance, DtFwderGroupInterconnectManual, and DtFwderGroupInterconnectSinglePortal.
Referenced by registerRoutesFileParams().
|
virtual |
References myLowestNodeIdIsDirty, myNodeId, and myNodeIdIsSet.
Referenced by DtRouteMap().
|
protectedvirtual |
Setup the default network of forwarders if the routes file does not specify any router connections.
References addForwarderGroup(), addForwarderToGroup(), addLocalGroupConnection(), DtFwderGroupInterconnectLoadBalance, DtFwderGroupInterconnectSinglePortal, DtRtiForwarderGroup::memberCount(), DtRtiForwarderGroup::members(), myConnectionsByAddr, myConnectionToGroupMap, myGroupInterconnectMethod, myLocalForwarderGroup, myNameToAddrMap, myNodeName, NULL, setupLoadBalanceRoutes(), and setupSinglePortalRoutes().
Referenced by DtRouteMap(), and rebuildRoutes().
|
protectedvirtual |
Sets up the map from destinations to next forwarder in the route when routes are configured manually in the routes file.
References myConnectionsByAddr, myDistributedForwarderPort, myLinksByDestinationMap, myNicAddrs, and myRoutesByLinkAddrMap.
Referenced by DtRouteMap().
|
protectedvirtual |
|
protectedvirtual |
References addAddressAlias(), myAddrToNameMap, myDistributedForwarderPort, myNicAddrs, and myNodeName.
Referenced by DtRouteMap(), and rebuildRoutes().
|
protectedvirtual |
|
virtual |
Updates a known forwarder. Dynamic forwarder configuration only.
References addKnownForwarder(), DtIsIpOfLocalInterface(), DtForwarderNodeInfo::myForwarderName, DtForwarderNodeInfo::myHostName, DtForwarderNodeInfo::myIpAddr, myKnownForwarderNodes, myNextAvailableNodeId, and DtForwarderNodeInfo::myNodeId.
|
virtual |
Updates the node ID of a known forwarder. Dynamic forwarder configuration only.
References DtForwarderNodeInfo::myExternalIPAddrs, DtForwarderNodeInfo::myForwarderName, DtForwarderNodeInfo::myHostName, DtForwarderNodeInfo::myIpAddr, myKnownForwarderNodes, myNextAvailableNodeId, and DtForwarderNodeInfo::myNodeId.
|
protected |
Referenced by addForwarder(), addLocalForwarder(), bundleSize(), compressionLevel(), nodeAddresses(), nodeNameByAddress(), print(), removeForwarder(), and setupNodeName().
|
protected |
Set of forwarders to which we should have bundling enabled.
Referenced by bundleSize(), and enableBundling().
|
protected |
Set of forwarders to which we should have compression enabled.
Referenced by compressionLevel(), and enableCompression().
|
protected |
Referenced by addForwarderConnection(), adjacencyList(), allLinkDestinations(), DtRouteMap(), print(), setupDefaultRoutes(), and setupDestinationsMap().
|
protected |
Referenced by addForwarderToGroup(), and setupDefaultRoutes().
|
protected |
Port used for forwarder-to-forwarder connections.
Referenced by addForwarderToGroup(), forwarderPort(), print(), setForwarderPort(), setupDestinationsMap(), and setupNodeName().
|
protected |
Referenced by openRoutesFile(), registerRoutesFileParams(), and ~DtRouteMap().
|
protected |
Referenced by addForeignForwarderConnection(), adjacencyList(), foreignGroupConnections(), and print().
|
protected |
Referenced by addForeignPortalConnection(), adjacencyList(), foreignPortalDestinations(), locatePortal(), and print().
|
protected |
the one I'm in
Referenced by addForwarderGroup(), forwarderGroups(), locatePortal(), setupLoadBalanceRoutes(), and setupSinglePortalRoutes().
|
protected |
The interface used for forwarder-to-forwarder connections.
Referenced by forwarderInterfaceAddr(), and setForwarderInterfaceAddr().
|
protected |
Referenced by forwardRtiexecMsgs(), print(), registerRoutesFileParams(), and setupDefaultRoutes().
|
protected |
all groups
Referenced by addForwarderGroup(), addForwarderToGroup(), locatePortal(), and nextForwarderOnRoute().
|
protected |
Some forwarders can be known by multiple addresses.
This is a mapping from known aliases to the primary address.
Referenced by addAddressAlias(), and addressAlias().
|
protected |
|
protected |
|
protected |
Referenced by nextForwarderOnRoute(), and setupDestinationsMap().
|
protected |
|
protected |
Referenced by addLocalGroupConnection(), adjacencyList(), localGroupDestinations(), and print().
|
mutableprotected |
Referenced by lowestNodeId().
|
mutableprotected |
Referenced by addForwarder(), addLocalForwarder(), lowestNodeId(), removeForwarder(), and setLocalNodeId().
|
protected |
List of forwarders allowed to act as Distributed UDP Forwarders, meaning they are allowed to listen to and forward multicast messages from the LAN.
The use must manually select which forwarders have this enabled to ensure that only a single copy of multicast messages are forwarded by one forwarder on each LAN.
Referenced by enableDistributedUdpForwarding(), and isMulticastMonitoringAllowed().
|
protected |
Referenced by addForeignForwarderConnection(), addForeignPortalConnection(), addForwarder(), addForwarderConnection(), addForwarderRoute(), addForwarderToGroup(), addLocalForwarder(), addLocalGroupConnection(), adjacencyList(), allLinkDestinations(), destinationList(), foreignGroupConnections(), foreignPortalDestinations(), isEmpty(), localGroupDestinations(), locatePortal(), nodeAddress(), nodeIdByName(), nodeNames(), removeForwarder(), and setupDefaultRoutes().
|
protected |
Referenced by addKnownForwarder(), consumeNextAvailableNodeId(), updateForwarder(), and updateForwarderNodeId().
|
protected |
|
protected |
Referenced by localNodeId(), lowestNodeId(), and setLocalNodeId().
|
protected |
Referenced by localNodeId(), and setLocalNodeId().
|
protected |
|
protected |
Referenced by addForwarder(), addLocalForwarder(), initializeInterfaceList(), and openRoutesFile().
|
protected |
Referenced by addForwarderRoute(), destinationList(), print(), and setupDestinationsMap().
|
protected |
Referenced by openRoutesFile().
|
protected |
|
staticprotected |
Referenced by create(), and setCreatorFunction().