Handle for the transport service (includes all of the state for the transport service). More...
Data Fields | |
void * | cls |
Closure for the callbacks. More... | |
struct GNUNET_MQ_MessageHandler * | handlers |
Functions to call for received data (template for new message queues). More... | |
GNUNET_TRANSPORT_NotifyConnect | nc_cb |
function to call on connect events More... | |
GNUNET_TRANSPORT_NotifyDisconnect | nd_cb |
function to call on disconnect events More... | |
struct GNUNET_MQ_Handle * | mq |
My client connection to the transport service. More... | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
My configuration. More... | |
struct GNUNET_CONTAINER_MultiPeerMap * | neighbours |
Hash map of the current connected neighbours of this peer. More... | |
struct GNUNET_PeerIdentity | self |
Peer identity as assumed by this process, or all zeros. More... | |
struct GNUNET_SCHEDULER_Task * | reconnect_task |
ID of the task trying to reconnect to the service. More... | |
struct GNUNET_TIME_Relative | reconnect_delay |
Delay until we try to reconnect. More... | |
struct GNUNET_TIME_Absolute | restarted_at |
Transport connection started at. More... | |
int | check_self |
Should we check that self matches what the service thinks? (if GNUNET_NO, then self is all zeros!). More... | |
Handle for the transport service (includes all of the state for the transport service).
Definition at line 108 of file transport_api2_core.c.
void* GNUNET_TRANSPORT_CoreHandle::cls |
Closure for the callbacks.
Definition at line 113 of file transport_api2_core.c.
Referenced by handle_connect(), handle_disconnect(), handle_recv(), handle_send_ok(), mq_error_handler(), neighbour_delete(), and reconnect().
struct GNUNET_MQ_MessageHandler* GNUNET_TRANSPORT_CoreHandle::handlers |
Functions to call for received data (template for new message queues).
Definition at line 119 of file transport_api2_core.c.
GNUNET_TRANSPORT_NotifyConnect GNUNET_TRANSPORT_CoreHandle::nc_cb |
function to call on connect events
Definition at line 124 of file transport_api2_core.c.
GNUNET_TRANSPORT_NotifyDisconnect GNUNET_TRANSPORT_CoreHandle::nd_cb |
function to call on disconnect events
Definition at line 129 of file transport_api2_core.c.
struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_CoreHandle::mq |
My client connection to the transport service.
Definition at line 134 of file transport_api2_core.c.
Referenced by do_send().
const struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_CoreHandle::cfg |
My configuration.
Definition at line 139 of file transport_api2_core.c.
struct GNUNET_CONTAINER_MultiPeerMap* GNUNET_TRANSPORT_CoreHandle::neighbours |
Hash map of the current connected neighbours of this peer.
Maps peer identities to struct Neighbour
entries.
Definition at line 145 of file transport_api2_core.c.
struct GNUNET_PeerIdentity GNUNET_TRANSPORT_CoreHandle::self |
Peer identity as assumed by this process, or all zeros.
Definition at line 150 of file transport_api2_core.c.
struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_CoreHandle::reconnect_task |
ID of the task trying to reconnect to the service.
Definition at line 155 of file transport_api2_core.c.
struct GNUNET_TIME_Relative GNUNET_TRANSPORT_CoreHandle::reconnect_delay |
Delay until we try to reconnect.
Definition at line 160 of file transport_api2_core.c.
struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_CoreHandle::restarted_at |
Transport connection started at.
Definition at line 165 of file transport_api2_core.c.
int GNUNET_TRANSPORT_CoreHandle::check_self |
Should we check that self matches what the service thinks? (if GNUNET_NO, then self is all zeros!).
Definition at line 171 of file transport_api2_core.c.