Struct used to store the context of a connected client. More...
Data Fields | |
struct ClientContext * | next |
DLL. More... | |
struct ClientContext * | prev |
struct GNUNET_MQ_Handle * | mq |
The message queue to communicate with the client. More... | |
int64_t | view_updates_left |
How many updates this client expects to receive. More... | |
int8_t | stream_update |
Whether this client wants to receive stream updates. More... | |
struct GNUNET_SERVICE_Client * | client |
The client handle to send the reply to. More... | |
struct Sub * | sub |
The Sub this context belongs to. More... | |
Struct used to store the context of a connected client.
Definition at line 2091 of file gnunet-service-rps.c.
struct ClientContext* ClientContext::next |
DLL.
Definition at line 2096 of file gnunet-service-rps.c.
Referenced by clients_notify_stream_peer(), clients_notify_view_update(), and nse_callback().
struct ClientContext* ClientContext::prev |
Definition at line 2097 of file gnunet-service-rps.c.
struct GNUNET_MQ_Handle* ClientContext::mq |
The message queue to communicate with the client.
Definition at line 2102 of file gnunet-service-rps.c.
Referenced by client_connect_cb(), send_stream_peers(), and send_view().
int64_t ClientContext::view_updates_left |
How many updates this client expects to receive.
Definition at line 2107 of file gnunet-service-rps.c.
Referenced by client_connect_cb(), clients_notify_view_update(), handle_client_view_cancel(), and handle_client_view_request().
int8_t ClientContext::stream_update |
Whether this client wants to receive stream updates.
Either GNUNET_YES or GNUNET_NO
Definition at line 2113 of file gnunet-service-rps.c.
Referenced by client_connect_cb(), clients_notify_stream_peer(), handle_client_stream_cancel(), handle_client_stream_request(), and handle_client_view_cancel().
struct GNUNET_SERVICE_Client* ClientContext::client |
The client handle to send the reply to.
Definition at line 2118 of file gnunet-service-rps.c.
Referenced by check_client_seed(), client_connect_cb(), client_disconnect_cb(), handle_client_seed(), handle_client_start_sub(), handle_client_stop_sub(), handle_client_stream_cancel(), handle_client_stream_request(), handle_client_view_cancel(), and handle_client_view_request().
struct Sub* ClientContext::sub |
The Sub this context belongs to.
Definition at line 2123 of file gnunet-service-rps.c.
Referenced by clients_notify_stream_peer(), destroy_cli_ctx(), handle_client_seed(), handle_client_start_sub(), handle_client_stop_sub(), nse_callback(), and send_view().