Robot Raconteur Core C++ Library
Loading...
Searching...
No Matches
RobotRaconteur::NodeDiscoveryInfo Class Reference

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< NodeDiscoveryInfoURLURLs
 Candidate URLs to connect to the node.
std::string ServiceStateNonce
 The current nonce for the node's services.

Detailed Description

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()

Member Data Documentation

◆ ServiceStateNonce

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.


The documentation for this class was generated from the following file: