Opaque handle to a listen operation. More...
Data Fields | |
| struct GNUNET_MQ_Handle * | mq |
| Message queue for the client. | |
| const struct GNUNET_CONFIGURATION_Handle * | cfg |
| Configuration handle for the listener, stored here to be able to reconnect transparently on connection failure. | |
| GNUNET_SET_ListenCallback | listen_cb |
| Function to call on a new incoming request, or on error. | |
| void * | listen_cls |
| Closure for listen_cb. | |
| struct GNUNET_HashCode | app_id |
| Application ID we listen for. | |
| struct GNUNET_TIME_Relative | reconnect_backoff |
| Time to wait until we try to reconnect on failure. | |
| struct GNUNET_SCHEDULER_Task * | reconnect_task |
| Task for reconnecting when the listener fails. | |
| enum GNUNET_SET_OperationType | operation |
| Operation we listen for. | |
| struct GNUNET_MQ_Handle* GNUNET_SET_ListenHandle::mq |
Message queue for the client.
Definition at line 191 of file set_api.c.
Referenced by GNUNET_SET_listen(), GNUNET_SET_listen_cancel(), handle_client_listener_error(), handle_request(), and listen_connect().
| const struct GNUNET_CONFIGURATION_Handle* GNUNET_SET_ListenHandle::cfg |
Configuration handle for the listener, stored here to be able to reconnect transparently on connection failure.
Definition at line 198 of file set_api.c.
Referenced by GNUNET_SET_listen(), and listen_connect().
| GNUNET_SET_ListenCallback GNUNET_SET_ListenHandle::listen_cb |
Function to call on a new incoming request, or on error.
Definition at line 204 of file set_api.c.
Referenced by GNUNET_SET_listen(), and handle_request().
| void* GNUNET_SET_ListenHandle::listen_cls |
Closure for listen_cb.
Definition at line 209 of file set_api.c.
Referenced by GNUNET_SET_listen(), and handle_request().
| struct GNUNET_HashCode GNUNET_SET_ListenHandle::app_id |
Application ID we listen for.
Definition at line 214 of file set_api.c.
Referenced by GNUNET_SET_listen(), GNUNET_SET_listen_cancel(), and listen_connect().
| struct GNUNET_TIME_Relative GNUNET_SET_ListenHandle::reconnect_backoff |
Time to wait until we try to reconnect on failure.
Definition at line 219 of file set_api.c.
Referenced by GNUNET_SET_listen(), handle_client_listener_error(), and handle_request().
| struct GNUNET_SCHEDULER_Task* GNUNET_SET_ListenHandle::reconnect_task |
Task for reconnecting when the listener fails.
Definition at line 224 of file set_api.c.
Referenced by GNUNET_SET_listen_cancel(), handle_client_listener_error(), and listen_connect().
| enum GNUNET_SET_OperationType GNUNET_SET_ListenHandle::operation |
Operation we listen for.
Definition at line 229 of file set_api.c.
Referenced by GNUNET_SET_listen(), and listen_connect().