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

Identity of a process that hosts at least one endpoint for a URL. 更多...

#include <discovery_viewer.h>

vlink::DiscoveryViewer::Process 的协作图:

Public 成员函数

bool operator< (const Process &target) const noexcept
 Defines a stable ordering between two process descriptors. 更多...
 

Public 属性

uint32_t type {0}
 Bitmask of ImplType kinds advertised by this process. 更多...
 
std::string host
 Host name of the process. 更多...
 
uint32_t pid {0}
 Process identifier. 更多...
 
std::string name
 Process or application name. 更多...
 
std::vector< std::string > ip_list
 Live discovery source IPv4 addresses, unique and sorted numerically. 更多...
 
double profiler {-1}
 CPU usage sample from one live address (-1 when unavailable). 更多...
 
bool bridge {false}
 

详细描述

Identity of a process that hosts at least one endpoint for a URL.

Announcements with the same role, host, PID, name and bridge origin share one address list. Each source address expires independently when its announcements stop.

成员函数说明

◆ operator<()

bool vlink::DiscoveryViewer::Process::operator< ( const Process &  target) const
noexcept

Defines a stable ordering between two process descriptors.

Sort key is type, then host, name, PID, bridge origin and finally the address list.

参数
targetRight-hand operand.
返回
true when *this should appear before target.

类成员变量说明

◆ bridge

bool vlink::DiscoveryViewer::Process::bridge {false}

Publisher created by proxy forwarding; absent in legacy announcements.

◆ host

std::string vlink::DiscoveryViewer::Process::host

Host name of the process.

◆ ip_list

std::vector<std::string> vlink::DiscoveryViewer::Process::ip_list

Live discovery source IPv4 addresses, unique and sorted numerically.

◆ name

std::string vlink::DiscoveryViewer::Process::name

Process or application name.

◆ pid

uint32_t vlink::DiscoveryViewer::Process::pid {0}

Process identifier.

◆ profiler

double vlink::DiscoveryViewer::Process::profiler {-1}

CPU usage sample from one live address (-1 when unavailable).

◆ type

uint32_t vlink::DiscoveryViewer::Process::type {0}

Bitmask of ImplType kinds advertised by this process.


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