#include <servers.h>
Inheritance diagram for serverrec:
Public Methods | |
serverrec () | |
serverrec (char *n, int link_t, long ver, bool jupe) | |
~serverrec () | |
void | AddLeaf (serverrec *child) |
void | DelLeaf (string n) |
Public Attributes | |
char | name [MAXBUF] |
int | pingtime |
int | linktype |
time_t | lastping |
long | usercount_i |
long | usercount |
long | opercount |
time_t | connected_at |
time_t | hops_away |
long | version |
bool | jupiter |
Private Attributes | |
map< string, serverrec * > | leaf |
|
Definition at line 16 of file servers.cpp. References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, LINK_ACTIVE, linktype, opercount, pingtime, usercount, usercount_i, and version.
00017 { 00018 leaf.clear(); 00019 strcpy(name,""); 00020 pingtime = 0; 00021 linktype = LINK_ACTIVE; 00022 lastping = time(NULL); 00023 usercount_i = usercount = opercount = version = 0; 00024 hops_away = 1; 00025 connected_at = time(NULL); 00026 jupiter = false; 00027 fd = 0; 00028 } |
|
Definition at line 35 of file servers.cpp. References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, linktype, opercount, usercount, usercount_i, and version.
|
|
Definition at line 31 of file servers.cpp.
00032 { 00033 } |
|
Definition at line 49 of file servers.cpp.
|
|
Definition at line 54 of file servers.cpp. References leaf.
|
|
Definition at line 33 of file servers.h. Referenced by serverrec(). |
|
Definition at line 34 of file servers.h. Referenced by serverrec(). |
|
Definition at line 36 of file servers.h. Referenced by serverrec(). |
|
Reimplemented from connection. Definition at line 29 of file servers.h. Referenced by serverrec(). |
|
Definition at line 24 of file servers.h. Referenced by AddLeaf(), DelLeaf(), and serverrec(). |
|
Definition at line 28 of file servers.h. Referenced by serverrec(). |
|
Definition at line 26 of file servers.h. Referenced by AddLeaf(). |
|
Definition at line 32 of file servers.h. Referenced by serverrec(). |
|
Definition at line 27 of file servers.h. Referenced by serverrec(). |
|
Definition at line 31 of file servers.h. Referenced by serverrec(). |
|
Definition at line 30 of file servers.h. Referenced by serverrec(). |
|
Definition at line 35 of file servers.h. Referenced by serverrec(). |