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

Pairs a topic URL with its serialisation type and node role. 更多...

#include <proxy_api.h>

vlink::ProxyAPI::UrlMeta 的协作图:

Public 属性

std::string url
 Full topic URL. 更多...
 
std::string ser
 Required serialisation type on this proxy route. 更多...
 
SchemaType schema {SchemaType::kUnknown}
 Required coarse schema family on this proxy route. 更多...
 
ImplType type {kSubscriber}
 Observer (kSubscriber), event writer or field writer. 更多...
 

详细描述

Pairs a topic URL with its serialisation type and node role.

Carried in Control::url_meta_list to tell the server which topics to subscribe to or publish on. Use kSubscriber to observe a topic (field reception is inferred from discovery), kPublisher to inject events, or kSetter to inject field updates. Field injection requires both proxy peers to support kSetter routes.

类成员变量说明

◆ schema

SchemaType vlink::ProxyAPI::UrlMeta::schema {SchemaType::kUnknown}

Required coarse schema family on this proxy route.

◆ ser

std::string vlink::ProxyAPI::UrlMeta::ser

Required serialisation type on this proxy route.

◆ type

ImplType vlink::ProxyAPI::UrlMeta::type {kSubscriber}

Observer (kSubscriber), event writer or field writer.

◆ url

std::string vlink::ProxyAPI::UrlMeta::url

Full topic URL.


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