#include <pStatClientControlMessage.h>
Public Types | |
enum | Type { T_datagram = 0, T_hello, T_define_collectors, T_define_threads, T_invalid } |
Public Member Functions | |
PStatClientControlMessage () | |
void | encode (Datagram &datagram) const |
Writes the message into the indicated datagram. | |
bool | decode (const Datagram &datagram, PStatClientVersion *version) |
Extracts the message from the indicated datagram. | |
Public Attributes | |
Type | _type |
string | _client_hostname |
string | _client_progname |
int | _major_version |
int | _minor_version |
pvector< PStatCollectorDef * > | _collectors |
int | _first_thread_index |
pvector< string > | _names |
Definition at line 45 of file pStatClientControlMessage.h.
|
Definition at line 52 of file pStatClientControlMessage.h. |
|
Definition at line 37 of file pStatClientControlMessage.cxx. References _client_hostname, _client_progname, _major_version, _type, Datagram::add_string(), Datagram::add_uint16(), Datagram::add_uint8(), Datagram::clear(), and T_hello. |
|
Extracts the message from the indicated datagram. Returns true on success, false on error. Definition at line 97 of file pStatClientControlMessage.cxx. References _major_version, and _minor_version. |
|
Writes the message into the indicated datagram.
Definition at line 50 of file pStatClientControlMessage.cxx. References _collectors, and T_define_collectors. |
|
Definition at line 63 of file pStatClientControlMessage.h. Referenced by PStatClientControlMessage(). |
|
Definition at line 64 of file pStatClientControlMessage.h. Referenced by PStatClientControlMessage(). |
|
Definition at line 69 of file pStatClientControlMessage.h. Referenced by encode(). |
|
Definition at line 72 of file pStatClientControlMessage.h. |
|
Definition at line 65 of file pStatClientControlMessage.h. Referenced by decode(), and PStatClientControlMessage(). |
|
Definition at line 66 of file pStatClientControlMessage.h. Referenced by decode(). |
|
Definition at line 73 of file pStatClientControlMessage.h. |
|
Definition at line 60 of file pStatClientControlMessage.h. Referenced by PStatClientControlMessage(). |