Class providing information about a remote bus node. More...
#include <eagine/message_bus/remote_node.hpp>
Public Member Functions | |
operator bool () const noexcept | |
Indicates if this is not-empty and has actual information. | |
auto | id () const noexcept -> valid_if_not_zero< identifier_t > |
Returns the unique id of the remote bus node. | |
auto | instance_id () const noexcept -> valid_if_not_zero< process_instance_id_t > |
Returns the id of the instance in which the node is running. | |
auto | host_id () const noexcept -> valid_if_not_zero< host_id_t > |
Returns the id of the host on which the node is running. | |
auto | kind () const noexcept -> node_kind |
Returns the kind of the remote node. More... | |
auto | is_router_node () const noexcept -> tribool |
Returns if the remote node is a router control node. More... | |
auto | is_bridge_node () const noexcept -> tribool |
Returns if the remote node is a router control node. More... | |
auto | has_endpoint_info () const noexcept -> bool |
Indicates if endpoint information is available. | |
auto | app_name () const noexcept -> valid_if_not_empty< string_view > |
Returns the application name. | |
auto | display_name () const noexcept -> valid_if_not_empty< string_view > |
Returns the user-readable display name of the application. | |
auto | description () const noexcept -> valid_if_not_empty< string_view > |
Returns the user-readable description of the application. | |
auto | subscribes_to (message_id msg_id) const noexcept -> tribool |
Indicates if the remote node subscribes to the specified message type. | |
auto | is_pingable () const noexcept -> tribool |
Indicates if the remote node is pingable. More... | |
void | set_ping_interval (std::chrono::milliseconds) noexcept |
Sets the ping interval for the remote node. More... | |
auto | ping_success_rate () const noexcept -> valid_if_between_0_1< float > |
Returns the ping success rate for the remote node (0.0, 1.0). More... | |
auto | is_responsive () const noexcept -> tribool |
Indicates if the remote node is responsive. More... | |
auto | host () const noexcept -> remote_host |
Returns information about the host where the node is running. More... | |
auto | instance () const noexcept -> remote_instance |
Returns information about the instance in which the node is running. More... | |
auto | connections () const noexcept -> node_connections |
Return information about the connections of this node. More... | |
Class providing information about a remote bus node.
|
noexcept |
|
noexcept |
Returns information about the host where the node is running.
|
noexcept |
Returns information about the instance in which the node is running.
|
noexcept |
Returns if the remote node is a router control node.
|
noexcept |
Indicates if the remote node is pingable.
|
noexcept |
Indicates if the remote node is responsive.
|
noexcept |
Returns if the remote node is a router control node.
|
noexcept |
Returns the kind of the remote node.
|
noexcept |
Returns the ping success rate for the remote node (0.0, 1.0).
|
noexcept |
Sets the ping interval for the remote node.