GHS
Leader Election Based on GHS Minimum Spanning Tree
Public Attributes | List of all members
demo::Header Struct Reference

a structure that defines source and destination for WireMessage objects More...

#include <ghs-demo-comms.h>

Public Attributes

Destination agent_to =MESSAGE_DEST_UNSET
 Which agent id is this sent to?
 
uint16_t agent_from
 Which agent id is this from?
 
PayloadType type =PAYLOAD_TYPE_NOT_SET
 What payload type do we carry?
 
uint16_t payload_size =0
 how big is the payload we carry?
 

Detailed Description

a structure that defines source and destination for WireMessage objects

Used by Comms objects to send to the appropriate endpoint

See also
Config
Comms

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