A peerstore monitor. More...
Data Fields | |
struct Monitor * | next |
Next element in the DLL. More... | |
struct Monitor * | prev |
Previous element in the DLL. More... | |
struct PeerstoreClient * | pc |
Namestore client which initiated this zone monitor. More... | |
struct GNUNET_SCHEDULER_Task * | task |
Task active during initial iteration. More... | |
struct GNUNET_SCHEDULER_Task * | sa_wait_warning |
Task to warn about slow monitors. More... | |
struct GNUNET_TIME_Absolute | sa_waiting_start |
Since when are we blocked on this monitor? More... | |
uint64_t | seq |
Last sequence number in the zone iteration used to address next result of the iteration in the store. More... | |
uint64_t | limit |
Current limit of how many more messages we are allowed to queue to this monitor. More... | |
uint64_t | iteration_cnt |
How many more requests may we receive from the iterator before it is at the limit we gave it? Will be below or equal to limit. More... | |
int | in_first_iteration |
Are we (still) in the initial iteration pass? More... | |
int | peer_set |
Is the peer set? More... | |
char * | sub_system |
Responsible sub system string. More... | |
struct GNUNET_PeerIdentity | peer |
Peer Identity. More... | |
char * | key |
Record key string. More... | |
A peerstore monitor.
Definition at line 50 of file gnunet-service-peerstore.c.
struct Monitor* Monitor::next |
Next element in the DLL.
Definition at line 55 of file gnunet-service-peerstore.c.
Referenced by client_disconnect_cb().
struct Monitor* Monitor::prev |
Previous element in the DLL.
Definition at line 60 of file gnunet-service-peerstore.c.
struct PeerstoreClient* Monitor::pc |
Namestore client which initiated this zone monitor.
Definition at line 65 of file gnunet-service-peerstore.c.
Referenced by client_disconnect_cb().
struct GNUNET_SCHEDULER_Task* Monitor::task |
Task active during initial iteration.
Definition at line 70 of file gnunet-service-peerstore.c.
Referenced by client_disconnect_cb().
struct GNUNET_SCHEDULER_Task* Monitor::sa_wait_warning |
Task to warn about slow monitors.
Definition at line 75 of file gnunet-service-peerstore.c.
Referenced by client_disconnect_cb().
struct GNUNET_TIME_Absolute Monitor::sa_waiting_start |
Since when are we blocked on this monitor?
Definition at line 80 of file gnunet-service-peerstore.c.
uint64_t Monitor::seq |
Last sequence number in the zone iteration used to address next result of the iteration in the store.
Initially set to 0. Updated in monitor_iterate_cb()
Definition at line 89 of file gnunet-service-peerstore.c.
uint64_t Monitor::limit |
Current limit of how many more messages we are allowed to queue to this monitor.
Definition at line 95 of file gnunet-service-peerstore.c.
Referenced by handle_monitor_next().
uint64_t Monitor::iteration_cnt |
How many more requests may we receive from the iterator before it is at the limit we gave it? Will be below or equal to limit.
The effective limit for monitor events is thus iteration_cnt - limit!
Definition at line 103 of file gnunet-service-peerstore.c.
int Monitor::in_first_iteration |
Are we (still) in the initial iteration pass?
Definition at line 108 of file gnunet-service-peerstore.c.
int Monitor::peer_set |
Is the peer set?
Definition at line 113 of file gnunet-service-peerstore.c.
char* Monitor::sub_system |
Responsible sub system string.
Definition at line 118 of file gnunet-service-peerstore.c.
Referenced by client_disconnect_cb().
struct GNUNET_PeerIdentity Monitor::peer |
Peer Identity.
Definition at line 123 of file gnunet-service-peerstore.c.
char* Monitor::key |
Record key string.
Definition at line 128 of file gnunet-service-peerstore.c.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), client_disconnect_cb(), and gnunet-chk.Chk::uri().