Transmission plan for a peer. More...
Data Fields | |
| struct GNUNET_CONTAINER_Heap * | priority_heap |
Heap with pending queries (struct GSF_RequestPlan), higher weights mean higher priority. | |
| struct GNUNET_CONTAINER_Heap * | delay_heap |
Heap with pending queries (struct GSF_RequestPlan), by transmission time, lowest first. | |
| struct GNUNET_CONTAINER_MultiHashMap * | plan_map |
| Map of queries to plan entries. | |
| struct GSF_ConnectedPeer * | cp |
| Peer for which this is the plan. | |
| struct GNUNET_SCHEDULER_Task * | task |
| Current task for executing the plan. | |
| struct GNUNET_MQ_Envelope * | env |
| Current message under transmission for the plan. | |
Transmission plan for a peer.
Definition at line 167 of file gnunet-service-fs_pe.c.
| 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().
| 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().
| 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().
| 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().
| 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().
| 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 schedule_peer_transmission().