VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::ProxyAPI::Control结构体 参考final

Control message sent from a kController client to ProxyServer. 更多...

#include <proxy_api.h>

vlink::ProxyAPI::Control 的协作图:

Public 属性

Mode mode {kOffline}
 Target operation mode.
std::vector< UrlMetaurl_meta_list
 Topics to observe / inject (mode-dependent).
bool filter_by_process {false}
 When true, filter_str matches process names; otherwise matches URLs.
std::string filter_str
 Space-separated filter keywords (case-insensitive).
uint32_t filter_type {0}
 Type filter: 0=all, 1=pub+sub pair, 2=srv+cli pair, etc.

详细描述

Control message sent from a kController client to ProxyServer.

Sets the server's operating mode and the list of topics to observe or play. The filter_str is a space-separated list of substrings; topics (or process names when filter_by_process is true) must contain at least one substring to be included.

类成员变量说明

◆ filter_by_process

bool vlink::ProxyAPI::Control::filter_by_process {false}

When true, filter_str matches process names; otherwise matches URLs.

◆ filter_str

std::string vlink::ProxyAPI::Control::filter_str

Space-separated filter keywords (case-insensitive).

◆ filter_type

uint32_t vlink::ProxyAPI::Control::filter_type {0}

Type filter: 0=all, 1=pub+sub pair, 2=srv+cli pair, etc.

◆ mode

Mode vlink::ProxyAPI::Control::mode {kOffline}

Target operation mode.

◆ url_meta_list

std::vector<UrlMeta> vlink::ProxyAPI::Control::url_meta_list

Topics to observe / inject (mode-dependent).


该结构体的文档由以下文件生成: