GNUnet 0.21.1
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.

◆ 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.

◆ 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.

◆ channel

struct GNUNET_CADET_Channel* CadetHandle::channel

Channel to the other peer.

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

◆ target

struct GNUNET_PeerIdentity CadetHandle::target

Which peer does this cadet go to?

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

Referenced by get_cadet(), and GSF_cadet_query_cancel().

◆ 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.

◆ 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.


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