VLink  2.0.0
A high-performance communication middleware
vlink::ProxyAPI::Control Struct Referencefinal

Control message sent from a kController instance to ProxyServer. More...

#include <proxy_api.h>

Collaboration diagram for vlink::ProxyAPI::Control:

Public Attributes

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

Detailed Description

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.

Member Data Documentation

◆ 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).


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