|
Robot Raconteur Core C++ Library
|
Raw information used to announce and detect nodes. More...
#include <Discovery.h>
Public Attributes | |
| RobotRaconteur::NodeID | NodeID |
| The detected NodeID. | |
| std::string | NodeName |
| The detected NodeName. | |
| std::vector< NodeDiscoveryInfoURL > | URLs |
| Candidate URLs to connect to the node. | |
| std::string | ServiceStateNonce |
| The current nonce for the node's services. | |
Raw information used to announce and detect nodes.
For TCP/IP and QUIC/IP, this information is transmitted using UDP multicast packets. For local transports, the filesystem is used.
The data contained in NodeDiscoveryInfo is unverified and unfiltered.
NodeDiscoveryInfo is used with RobotRaconteurNode::GetDetectedNodes(), RobotRaconteurNode::AddNodeServicesDetectedListener(), and RobotRaconteurNode::AddNodeDetectionLostListener()
| std::string RobotRaconteur::NodeDiscoveryInfo::ServiceStateNonce |
The current nonce for the node's services.
The ServiceStateNonce is a random string that represents the current state of the nodes services. If the services change, the nonce will change to a new random string, indicating that the client should reinterrogate the node.