Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::ServiceDiscovery::ServiceInfo Struct Reference

#include <service_discovery.hpp>

Public Member Functions

json to_json () const
 

Static Public Member Functions

static ServiceInfo from_json (const json &payload)
 

Public Attributes

std::string ip
 
std::map< std::string, uint16_t > ports
 
std::string room
 
std::string hostname
 
std::string version
 
bool encrypted {false}
 
bool prefer_loopback_for_local_services {true}
 

Detailed Description

Definition at line 22 of file service_discovery.hpp.

Member Function Documentation

◆ from_json()

static ServiceInfo Mads::ServiceDiscovery::ServiceInfo::from_json ( const json payload)
static

◆ to_json()

json Mads::ServiceDiscovery::ServiceInfo::to_json ( ) const

Member Data Documentation

◆ encrypted

bool Mads::ServiceDiscovery::ServiceInfo::encrypted {false}

Definition at line 28 of file service_discovery.hpp.

◆ hostname

std::string Mads::ServiceDiscovery::ServiceInfo::hostname

Definition at line 26 of file service_discovery.hpp.

◆ ip

std::string Mads::ServiceDiscovery::ServiceInfo::ip

Definition at line 23 of file service_discovery.hpp.

◆ ports

std::map<std::string, uint16_t> Mads::ServiceDiscovery::ServiceInfo::ports

Definition at line 24 of file service_discovery.hpp.

◆ prefer_loopback_for_local_services

bool Mads::ServiceDiscovery::ServiceInfo::prefer_loopback_for_local_services {true}

Definition at line 29 of file service_discovery.hpp.

◆ room

std::string Mads::ServiceDiscovery::ServiceInfo::room

Definition at line 25 of file service_discovery.hpp.

◆ version

std::string Mads::ServiceDiscovery::ServiceInfo::version

Definition at line 27 of file service_discovery.hpp.


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