|
VLink
2.0.0
A high-performance communication middleware
|
Construction-time configuration aggregate for ProxyAPI.
More...
#include <proxy_api.h>
Public Attributes | |
| Role | role {kController} |
| Role of this client instance. More... | |
| int | domain_id {0} |
DDS domain ID; must match the server's domain_id. More... | |
| std::string | dds_impl {"dds"} |
| DDS implementation: "dds", "ddsc", "ddsr", etc. More... | |
| std::string | security_key |
| Optional security key; empty selects the default slot. More... | |
| bool | native {false} |
| When true, restrict all DDS traffic to 127.0.0.1. More... | |
| bool | reliable {false} |
| Use reliable DDS QoS; must match the server. More... | |
| bool | direct {false} |
| Use direct SHM channels for data; must match the server. More... | |
| bool | enable_tcp {false} |
| Use TCP transport for data channels; must match the server. More... | |
| bool | match_version {true} |
Reject when the server's VLINK_VERSION differs from this client. More... | |
| std::string | allow_ip |
| Bind DDS sockets to this IP (empty = any). More... | |
| std::string | peer_ip |
| Unicast peer IP for DDS discovery (empty = multicast). More... | |
| int | buf_size {0} |
| Socket send/receive buffer in bytes; 0 = default. More... | |
| int | mtu_size {0} |
| DDS MTU size in bytes; 0 = default. More... | |
Construction-time configuration aggregate for ProxyAPI.
Every field must be set consistently with the ProxyServer::Config the instance connects to. A mismatch on reliable, enable_tcp, or direct raises the corresponding Error code on the first heartbeat received.
| std::string vlink::ProxyAPI::Config::allow_ip |
Bind DDS sockets to this IP (empty = any).
| int vlink::ProxyAPI::Config::buf_size {0} |
Socket send/receive buffer in bytes; 0 = default.
| std::string vlink::ProxyAPI::Config::dds_impl {"dds"} |
DDS implementation: "dds", "ddsc", "ddsr", etc.
| bool vlink::ProxyAPI::Config::direct {false} |
Use direct SHM channels for data; must match the server.
| int vlink::ProxyAPI::Config::domain_id {0} |
DDS domain ID; must match the server's domain_id.
| bool vlink::ProxyAPI::Config::enable_tcp {false} |
Use TCP transport for data channels; must match the server.
| bool vlink::ProxyAPI::Config::match_version {true} |
Reject when the server's VLINK_VERSION differs from this client.
| int vlink::ProxyAPI::Config::mtu_size {0} |
DDS MTU size in bytes; 0 = default.
| bool vlink::ProxyAPI::Config::native {false} |
When true, restrict all DDS traffic to 127.0.0.1.
| std::string vlink::ProxyAPI::Config::peer_ip |
Unicast peer IP for DDS discovery (empty = multicast).
| bool vlink::ProxyAPI::Config::reliable {false} |
Use reliable DDS QoS; must match the server.
| Role vlink::ProxyAPI::Config::role {kController} |
Role of this client instance.
| std::string vlink::ProxyAPI::Config::security_key |
Optional security key; empty selects the default slot.