Opaque handle to a listen operation. More...
Data Fields | |
struct GNUNET_MQ_Handle * | mq |
Message queue for the client. More... | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration handle for the listener, stored here to be able to reconnect transparently on connection failure. More... | |
GNUNET_SETI_ListenCallback | listen_cb |
Function to call on a new incoming request, or on error. More... | |
void * | listen_cls |
Closure for listen_cb. More... | |
struct GNUNET_SCHEDULER_Task * | reconnect_task |
Task for reconnecting when the listener fails. More... | |
struct GNUNET_HashCode | app_id |
Application ID we listen for. More... | |
struct GNUNET_TIME_Relative | reconnect_backoff |
Time to wait until we try to reconnect on failure. More... | |
Opaque handle to a listen operation.
Definition at line 162 of file seti_api.c.
struct GNUNET_MQ_Handle* GNUNET_SETI_ListenHandle::mq |
Message queue for the client.
Definition at line 167 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), GNUNET_SETI_listen_cancel(), handle_client_listener_error(), handle_request(), and listen_connect().
const struct GNUNET_CONFIGURATION_Handle* GNUNET_SETI_ListenHandle::cfg |
Configuration handle for the listener, stored here to be able to reconnect transparently on connection failure.
Definition at line 174 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), and listen_connect().
GNUNET_SETI_ListenCallback GNUNET_SETI_ListenHandle::listen_cb |
Function to call on a new incoming request, or on error.
Definition at line 180 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), and handle_request().
void* GNUNET_SETI_ListenHandle::listen_cls |
Closure for listen_cb.
Definition at line 185 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), and handle_request().
struct GNUNET_SCHEDULER_Task* GNUNET_SETI_ListenHandle::reconnect_task |
Task for reconnecting when the listener fails.
Definition at line 190 of file seti_api.c.
Referenced by GNUNET_SETI_listen_cancel(), handle_client_listener_error(), and listen_connect().
struct GNUNET_HashCode GNUNET_SETI_ListenHandle::app_id |
Application ID we listen for.
Definition at line 195 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), GNUNET_SETI_listen_cancel(), and listen_connect().
struct GNUNET_TIME_Relative GNUNET_SETI_ListenHandle::reconnect_backoff |
Time to wait until we try to reconnect on failure.
Definition at line 200 of file seti_api.c.
Referenced by GNUNET_SETI_listen(), handle_client_listener_error(), and handle_request().