GNUnet 0.22.2
PeerPlan Struct Reference

Transmission plan for a peer. More...

Collaboration diagram for PeerPlan:
[legend]

Data Fields

struct GNUNET_CONTAINER_Heappriority_heap
 Heap with pending queries (struct GSF_RequestPlan), higher weights mean higher priority. More...
 
struct GNUNET_CONTAINER_Heapdelay_heap
 Heap with pending queries (struct GSF_RequestPlan), by transmission time, lowest first. More...
 
struct GNUNET_CONTAINER_MultiHashMapplan_map
 Map of queries to plan entries. More...
 
struct GSF_ConnectedPeercp
 Peer for which this is the plan. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Current task for executing the plan. More...
 
struct GNUNET_MQ_Envelopeenv
 Current message under transmission for the plan. More...
 

Detailed Description

Transmission plan for a peer.

Definition at line 167 of file gnunet-service-fs_pe.c.

Field Documentation

◆ priority_heap

struct GNUNET_CONTAINER_Heap* PeerPlan::priority_heap

Heap with pending queries (struct GSF_RequestPlan), higher weights mean higher priority.

Definition at line 172 of file gnunet-service-fs_pe.c.

Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), plan(), and schedule_peer_transmission().

◆ delay_heap

struct GNUNET_CONTAINER_Heap* PeerPlan::delay_heap

Heap with pending queries (struct GSF_RequestPlan), by transmission time, lowest first.

Definition at line 177 of file gnunet-service-fs_pe.c.

Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), plan(), and schedule_peer_transmission().

◆ plan_map

struct GNUNET_CONTAINER_MultiHashMap* PeerPlan::plan_map

Map of queries to plan entries.

All entries in the priority_heap or delay_heap should be in the plan_map. Note that it is possible for the plan_map to have multiple entries for the same query.

Definition at line 185 of file gnunet-service-fs_pe.c.

Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), and plan().

◆ cp

struct GSF_ConnectedPeer* PeerPlan::cp

Peer for which this is the plan.

Definition at line 190 of file gnunet-service-fs_pe.c.

Referenced by GSF_plan_add_(), GSF_request_plan_reference_get_last_transmission_(), and schedule_peer_transmission().

◆ task

struct GNUNET_SCHEDULER_Task* PeerPlan::task

Current task for executing the plan.

Definition at line 195 of file gnunet-service-fs_pe.c.

Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), and schedule_peer_transmission().

◆ env

struct GNUNET_MQ_Envelope* PeerPlan::env

Current message under transmission for the plan.

Definition at line 200 of file gnunet-service-fs_pe.c.

Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), typescriptdomain.TypeScriptDefinition::run(), and schedule_peer_transmission().


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