RDMnet  0.3.0
Implementation of ANSI E1.33 (RDMnet)
View other versions:
rdmnet::ClientConnectedInfo Class Reference

Overview

Information about a successful connection to a broker delivered to an RDMnet callback function.

Not valid for use other than as a parameter to an RDMnet callback function. Extract the members to save them for later use.

#include <rdmnet/cpp/client.h>

Public Member Functions

 ClientConnectedInfo ()=delete
 Not default-constructible.
 
 ClientConnectedInfo (const ClientConnectedInfo &other)=delete
 Not copyable.
 
ClientConnectedInfooperator= (const ClientConnectedInfo &other)=delete
 Not copyable.
 
constexpr ClientConnectedInfo (const RdmnetClientConnectedInfo &c_info) noexcept
 Construct a ClientConnectedInfo which references an instance of the C RdmnetClientConnectedInfo type.
 
constexpr etcpal::SockAddr broker_addr () const noexcept
 Get the IP address and port of the remote broker to which we have connected.
 
std::string broker_name () const
 Get the DNS name of the broker (if it was discovered via DNS-SD; otherwise this will be an empty string)
 
constexpr const char * broker_name_c_str () const noexcept
 Get the DNS name of the broker (if it was discovered via DNS-SD; otherwise this will be an empty string)
 
constexpr etcpal::Uuid broker_cid () const noexcept
 Get the CID of the connected broker.
 
constexpr rdm::Uid broker_uid () const noexcept
 Get the RDM UID of the connected broker.
 
constexpr const RdmnetClientConnectedInfoget () const noexcept
 Get a const reference to the underlying C type.
 

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