GNUnet 0.22.2
ClientContext Struct Reference

Struct used to store the context of a connected client. More...

Collaboration diagram for ClientContext:
[legend]

Data Fields

struct ClientContextnext
 DLL. More...
 
struct ClientContextprev
 
struct GNUNET_MQ_Handlemq
 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_Clientclient
 The client handle to send the reply to. More...
 
struct Subsub
 The Sub this context belongs to. More...
 

Detailed Description

Struct used to store the context of a connected client.

Definition at line 2091 of file gnunet-service-rps.c.

Field Documentation

◆ next

struct ClientContext* ClientContext::next

◆ prev

struct ClientContext* ClientContext::prev

Definition at line 2097 of file gnunet-service-rps.c.

◆ mq

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().

◆ view_updates_left

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().

◆ stream_update

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().

◆ client

◆ sub

struct Sub* ClientContext::sub

The documentation for this struct was generated from the following file: