#include <service_discovery.hpp>
Definition at line 20 of file service_discovery.hpp.
◆ ServiceDiscovery() [1/3]
◆ ~ServiceDiscovery()
| Mads::ServiceDiscovery::~ServiceDiscovery |
( |
| ) |
|
◆ ServiceDiscovery() [2/3]
◆ ServiceDiscovery() [3/3]
◆ advertise_once()
| void Mads::ServiceDiscovery::advertise_once |
( |
const ServiceInfo & |
service | ) |
const |
◆ discover()
| ServiceInfo Mads::ServiceDiscovery::discover |
( |
const std::string & |
room = "", |
|
|
std::chrono::milliseconds |
timeout = std::chrono::milliseconds::zero() |
|
) |
| const |
◆ discovery_port()
| uint16_t Mads::ServiceDiscovery::discovery_port |
( |
| ) |
const |
|
noexcept |
◆ is_advertising()
| bool Mads::ServiceDiscovery::is_advertising |
( |
| ) |
const |
|
noexcept |
◆ list_rooms()
| std::map< std::string, ServiceDiscovery::ServiceInfo > Mads::ServiceDiscovery::list_rooms |
( |
std::chrono::milliseconds |
timeout = std::chrono::milliseconds{1000} | ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ start_advertising()
◆ stop_advertising()
| void Mads::ServiceDiscovery::stop_advertising |
( |
| ) |
|
◆ DEFAULT_ADVERTISE_INTERVAL
| constexpr std::chrono::milliseconds Mads::ServiceDiscovery::DEFAULT_ADVERTISE_INTERVAL {1000} |
|
staticconstexpr |
◆ DEFAULT_DISCOVERY_PORT
| constexpr uint16_t Mads::ServiceDiscovery::DEFAULT_DISCOVERY_PORT = 39092 |
|
staticconstexpr |
The documentation for this class was generated from the following file: