Handler for a single request from a client. More...
Data Fields | |
| struct GNUNET_RPS_Handle * | rps_handle |
| The client issuing the request. | |
| uint32_t | num_requests |
| The number of requested peers. | |
| struct RPS_Sampler * | sampler |
| The Sampler for the client request. | |
| struct RPS_SamplerRequestHandle * | sampler_rh |
| Request handle of the request to the sampler - needed to cancel the request. | |
| struct GNUNET_RPS_StreamRequestHandle * | srh |
| Request handle of the request of the biased stream of peers - needed to cancel the request. | |
| GNUNET_RPS_NotifyReadyCB | ready_cb |
| The callback to be called when we receive an answer. | |
| void * | ready_cb_cls |
| The closure for the callback. | |
| struct GNUNET_RPS_Request_Handle * | next |
| Pointer to next element in DLL. | |
| struct GNUNET_RPS_Request_Handle * | prev |
| Pointer to previous element in DLL. | |
| struct GNUNET_RPS_Handle* GNUNET_RPS_Request_Handle::rps_handle |
The client issuing the request.
Definition at line 164 of file rps_api.c.
Referenced by GNUNET_RPS_request_cancel(), and GNUNET_RPS_request_peers().
| uint32_t GNUNET_RPS_Request_Handle::num_requests |
The number of requested peers.
Definition at line 169 of file rps_api.c.
Referenced by GNUNET_RPS_request_peers().
| struct RPS_Sampler* GNUNET_RPS_Request_Handle::sampler |
The Sampler for the client request.
Definition at line 174 of file rps_api.c.
Referenced by collect_peers_cb(), GNUNET_RPS_request_cancel(), GNUNET_RPS_request_peers(), RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), and RPS_sampler_request_cancel().
| struct RPS_SamplerRequestHandle* GNUNET_RPS_Request_Handle::sampler_rh |
Request handle of the request to the sampler - needed to cancel the request.
Definition at line 179 of file rps_api.c.
Referenced by GNUNET_RPS_request_cancel(), GNUNET_RPS_request_peers(), and peers_ready_cb().
| struct GNUNET_RPS_StreamRequestHandle* GNUNET_RPS_Request_Handle::srh |
Request handle of the request of the biased stream of peers - needed to cancel the request.
Definition at line 185 of file rps_api.c.
Referenced by GNUNET_RPS_request_cancel(), and GNUNET_RPS_request_peers().
| GNUNET_RPS_NotifyReadyCB GNUNET_RPS_Request_Handle::ready_cb |
The callback to be called when we receive an answer.
Definition at line 190 of file rps_api.c.
Referenced by GNUNET_RPS_request_peers(), and peers_ready_cb().
| void* GNUNET_RPS_Request_Handle::ready_cb_cls |
The closure for the callback.
Definition at line 195 of file rps_api.c.
Referenced by GNUNET_RPS_request_peers(), and peers_ready_cb().
| struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Request_Handle::next |
| struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Request_Handle::prev |