Handler to handle requests from a client. More...
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
The handle to the client configuration. More... | |
struct GNUNET_MQ_Handle * | mq |
The message queue to the client. More... | |
GNUNET_RPS_NotifyReadyCB | view_update_cb |
Callback called on each update of the view. More... | |
void * | view_update_cls |
Closure to each requested update of the view. More... | |
void * | stream_input_cls |
Closure to each requested peer from the biased stream. More... | |
struct GNUNET_RPS_StreamRequestHandle * | stream_requests_head |
Head of the DLL of stream requests. More... | |
struct GNUNET_RPS_StreamRequestHandle * | stream_requests_tail |
Tail of the DLL of stream requests. More... | |
struct GNUNET_NSE_Handle * | nse |
Handle to nse service. More... | |
struct GNUNET_RPS_Request_Handle * | rh_head |
Pointer to the head element in DLL of request handles. More... | |
struct GNUNET_RPS_Request_Handle * | rh_tail |
Pointer to the tail element in DLL of request handles. More... | |
struct GNUNET_RPS_Request_Handle_Single_Info * | rhs_head |
Pointer to the head element in DLL of single request handles. More... | |
struct GNUNET_RPS_Request_Handle_Single_Info * | rhs_tail |
Pointer to the tail element in DLL of single request handles. More... | |
float | desired_probability |
The desired probability with which we want to have observed all peers. More... | |
float | deficiency_factor |
A factor that catches the 'bias' of a random stream of peer ids. More... | |
const struct GNUNET_CONFIGURATION_Handle* GNUNET_RPS_Handle::cfg |
struct GNUNET_MQ_Handle* GNUNET_RPS_Handle::mq |
The message queue to the client.
Definition at line 88 of file rps_api.c.
Referenced by cancel_stream(), GNUNET_RPS_stream_request(), GNUNET_RPS_view_request(), and GNUNET_RPS_view_request_cancel().
GNUNET_RPS_NotifyReadyCB GNUNET_RPS_Handle::view_update_cb |
Callback called on each update of the view.
Definition at line 93 of file rps_api.c.
Referenced by GNUNET_RPS_view_request(), and GNUNET_RPS_view_request_cancel().
void* GNUNET_RPS_Handle::view_update_cls |
Closure to each requested update of the view.
Definition at line 98 of file rps_api.c.
Referenced by GNUNET_RPS_view_request().
void* GNUNET_RPS_Handle::stream_input_cls |
struct GNUNET_RPS_StreamRequestHandle* GNUNET_RPS_Handle::stream_requests_head |
Head of the DLL of stream requests.
Definition at line 108 of file rps_api.c.
Referenced by GNUNET_RPS_stream_cancel(), new_stream_request(), and remove_stream_request().
struct GNUNET_RPS_StreamRequestHandle* GNUNET_RPS_Handle::stream_requests_tail |
Tail of the DLL of stream requests.
Definition at line 113 of file rps_api.c.
Referenced by new_stream_request(), and remove_stream_request().
struct GNUNET_NSE_Handle* GNUNET_RPS_Handle::nse |
struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Handle::rh_head |
Pointer to the head element in DLL of request handles.
Definition at line 123 of file rps_api.c.
Referenced by GNUNET_RPS_request_peers().
struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Handle::rh_tail |
Pointer to the tail element in DLL of request handles.
Definition at line 128 of file rps_api.c.
Referenced by GNUNET_RPS_request_peers().
struct GNUNET_RPS_Request_Handle_Single_Info* GNUNET_RPS_Handle::rhs_head |
Pointer to the head element in DLL of single request handles.
Definition at line 133 of file rps_api.c.
Referenced by GNUNET_RPS_request_peer_info().
struct GNUNET_RPS_Request_Handle_Single_Info* GNUNET_RPS_Handle::rhs_tail |
Pointer to the tail element in DLL of single request handles.
Definition at line 138 of file rps_api.c.
Referenced by GNUNET_RPS_request_peer_info().
float GNUNET_RPS_Handle::desired_probability |
The desired probability with which we want to have observed all peers.
Definition at line 144 of file rps_api.c.
Referenced by GNUNET_RPS_request_peer_info(), and GNUNET_RPS_request_peers().
float GNUNET_RPS_Handle::deficiency_factor |
A factor that catches the 'bias' of a random stream of peer ids.
As introduced by Brahms: Factor between the number of unique ids in a truly random stream and number of unique ids in the gossip stream.
Definition at line 152 of file rps_api.c.
Referenced by GNUNET_RPS_request_peer_info(), and GNUNET_RPS_request_peers().