#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 20 of file servers.cpp. References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, LINK_ACTIVE, linktype, opercount, pingtime, usercount, usercount_i, and version.
00021 { 00022 leaf.clear(); 00023 strcpy(name,""); 00024 pingtime = 0; 00025 linktype = LINK_ACTIVE; 00026 lastping = time(NULL); 00027 usercount_i = usercount = opercount = version = 0; 00028 hops_away = 1; 00029 connected_at = time(NULL); 00030 jupiter = false; 00031 fd = 0; 00032 } |
|
Definition at line 39 of file servers.cpp. References connected_at, connection::fd, hops_away, jupiter, lastping, leaf, linktype, opercount, usercount, usercount_i, and version.
|
|
Definition at line 35 of file servers.cpp.
00036 { 00037 } |
|
Definition at line 53 of file servers.cpp.
|
|
Definition at line 58 of file servers.cpp. References leaf.
|
|
Definition at line 37 of file servers.h. Referenced by serverrec(). |
|
Definition at line 38 of file servers.h. Referenced by serverrec(). |
|
Definition at line 40 of file servers.h. Referenced by serverrec(). |
|
Reimplemented from connection. Definition at line 33 of file servers.h. Referenced by serverrec(). |
|
Definition at line 28 of file servers.h. Referenced by AddLeaf(), DelLeaf(), and serverrec(). |
|
Definition at line 32 of file servers.h. Referenced by serverrec(). |
|
Definition at line 30 of file servers.h. Referenced by AddLeaf(). |
|
Definition at line 36 of file servers.h. Referenced by serverrec(). |
|
Definition at line 31 of file servers.h. Referenced by serverrec(). |
|
Definition at line 35 of file servers.h. Referenced by serverrec(). |
|
Definition at line 34 of file servers.h. Referenced by serverrec(). |
|
Definition at line 39 of file servers.h. Referenced by serverrec(). |