VLink  2.0.0
A high-performance communication middleware
vlink::ProxyAPI::Control结构体 参考final

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

#include <proxy_api.h>

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

Public 属性

Mode mode {kOffline}
 Target operation mode. 更多...
 
std::vector< UrlMetaurl_meta_list
 Topics to observe / record / inject (mode-dependent). 更多...
 
bool filter_by_process {false}
 When true, filter_str matches process names; otherwise URLs. 更多...
 
std::string filter_str
 Space- or comma-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 instance to ProxyServer.

Sets the server's operating mode and the list of topics to observe, record, or inject/play. filter_str is a space- or comma-separated set of substrings; entries must contain at least one substring to be included. When filter_by_process is true, the filter is matched against process names instead of URLs.

类成员变量说明

◆ filter_by_process

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

When true, filter_str matches process names; otherwise URLs.

◆ filter_str

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

Space- or comma-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 / record / inject (mode-dependent).


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