RDMnet
0.3.0
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
A group of settings for broker operation.
#include <rdmnet/cpp/broker.h>
Public Member Functions | |
Settings (const etcpal::Uuid &cid_in, const rdm::Uid &static_uid_in) | |
Initialize a broker Settings with a CID and static UID. | |
Settings (const etcpal::Uuid &cid_in, uint16_t rdm_manu_id_in) | |
Initialize a broker Settings with a CID and dynamic UID (provide the manufacturer ID). | |
void | SetDefaultServiceInstanceName () |
Generate a DNS service instance name based on the broker's current CID. | |
bool | IsValid () const |
Whether this structure contains valid settings for broker operation. | |
Data Fields | |
etcpal::Uuid | cid |
The broker's CID. | |
rdm::Uid | uid |
The broker's UID. | |
DnsAttributes | dns |
The broker's DNS attributes. | |
Limits | limits |
The broker's limits. | |
std::string | scope {E133_DEFAULT_SCOPE} |
The RDMnet scope on which this broker should operate. | |
bool | allow_rdm_scope_change {true} |
Whether the broker should allow the scope to be changed via RDM commands. | |
bool | allow_rdm_disable {true} |
Whether the broker should allow being disabled and enabled via the BROKER_STATUS RDM command. | |
uint16_t | listen_port {0} |
The port on which this broker should listen for incoming connections (and advertise via DNS). More... | |
std::vector< std::string > | listen_interfaces |
A list of strings representing the system name of network interfaces to listen on. More... | |
std::vector<std::string> rdmnet::Broker::Settings::listen_interfaces |
A list of strings representing the system name of network interfaces to listen on.
Each string represents the system name for a network interface. On *nix systems, this is typically a short identifier ending with a number, e.g. "eth0". On Windows, it is typically a GUID.
uint16_t rdmnet::Broker::Settings::listen_port {0} |
The port on which this broker should listen for incoming connections (and advertise via DNS).
0 means use an ephemeral port.