35 if (!_client_data.is_null() &&
36 _client_data->has_collector(collector_index)) {
37 return _client_data->get_collector_name(collector_index);
59 return _client_hostname;
70 return _client_progname;
The data associated with a particular client, but not with any one particular frame or thread: the li...
std::string get_client_hostname() const
Returns the hostname of the client we're connected to, if known.
PStatServer * get_server()
Returns the server that owns this monitor.
std::string get_client_progname() const
Returns the program name of the client we're connected to, if known.
std::string get_collector_name(int collector_index)
Returns the name of the indicated collector, if it is known.
bool is_client_known() const
Returns true if we've yet received the "hello" message from the client indicating its name,...
The overall manager of the network connections.
const PStatClientData * get_client_data() const
Returns the client data associated with this monitor.