GNUnet  0.11.x
Data Fields
CadetHandle Struct Reference

Handle for a cadet to another peer. More...

Collaboration diagram for CadetHandle:
[legend]

Data Fields

struct GSF_CadetRequestpending_head
 Head of DLL of pending requests on this cadet. More...
 
struct GSF_CadetRequestpending_tail
 Tail of DLL of pending requests on this cadet. More...
 
struct GNUNET_CONTAINER_MultiHashMapwaiting_map
 Map from query to struct GSF_CadetRequests waiting for a reply. More...
 
struct GNUNET_CADET_Channelchannel
 Channel to the other peer. More...
 
struct GNUNET_PeerIdentity target
 Which peer does this cadet go to? More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task to kill inactive cadets (we keep them around for a few seconds to give the application a chance to give us another query). More...
 
struct GNUNET_SCHEDULER_Taskreset_task
 Task to reset cadets that had errors (asynchronously, as we may not be able to do it immediately during a callback from the cadet API). More...
 

Detailed Description

Handle for a cadet to another peer.

Definition at line 105 of file gnunet-service-fs_cadet_client.c.

Field Documentation

◆ pending_head

struct GSF_CadetRequest* CadetHandle::pending_head

Head of DLL of pending requests on this cadet.

Definition at line 110 of file gnunet-service-fs_cadet_client.c.

Referenced by disconnect_cb(), GSF_cadet_query(), GSF_cadet_query_cancel(), move_to_pending(), and transmit_pending().

◆ pending_tail

struct GSF_CadetRequest* CadetHandle::pending_tail

Tail of DLL of pending requests on this cadet.

Definition at line 115 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), GSF_cadet_query_cancel(), move_to_pending(), and transmit_pending().

◆ waiting_map

struct GNUNET_CONTAINER_MultiHashMap* CadetHandle::waiting_map

Map from query to struct GSF_CadetRequests waiting for a reply.

Definition at line 121 of file gnunet-service-fs_cadet_client.c.

Referenced by disconnect_cb(), get_cadet(), GSF_cadet_query_cancel(), handle_reply(), move_to_pending(), reset_cadet(), and transmit_pending().

◆ channel

struct GNUNET_CADET_Channel* CadetHandle::channel

◆ target

struct GNUNET_PeerIdentity CadetHandle::target

◆ timeout_task

struct GNUNET_SCHEDULER_Task* CadetHandle::timeout_task

Task to kill inactive cadets (we keep them around for a few seconds to give the application a chance to give us another query).

Definition at line 138 of file gnunet-service-fs_cadet_client.c.

Referenced by cadet_timeout(), disconnect_cb(), get_cadet(), and GSF_cadet_query_cancel().

◆ reset_task

struct GNUNET_SCHEDULER_Task* CadetHandle::reset_task

Task to reset cadets that had errors (asynchronously, as we may not be able to do it immediately during a callback from the cadet API).

Definition at line 145 of file gnunet-service-fs_cadet_client.c.

Referenced by disconnect_cb(), get_cadet(), GSF_cadet_release_clients(), reset_cadet_async(), and reset_cadet_task().


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