Module fbp::fbp_iidmessage [−][src]
Expand description
FBP Message Struct
A Flow based programming system is at its heart a message passing system. The IIDMessage struct represents a message that is sent between FBP nodes.
The IIDMessage struct has a type and a subtype along with a payload. The payload can be any String, but it typically is a JSON string of a serialized struct.
Structs
ConfigMessage | Provides the structure of the payload of an IIDMessage when the IIDMessage has a type of MessageType::Config |
FieldConfiguration | Supports the ConfigMessageType::Field ConfigMessage for more complex configurations. |
IIDMessage | Provides the structure of a message that is sent between FBP nodes. |
ProcessMessage | Provides the structure of payload of an IIDMessage when the IIDMessage has a type of MessageType::Process |
Enums
ConfigMessageType | Defines the types of Config messages that are the payload of an IIDMessage |
MessageType | Defines the type of an IIDMessage |
ProcessMessageType | Defines the types of Process messages for an FBP node |
SubMessageType | Defines the sub-types of an IIDMessage |
Traits
MessageSerializer | The MessageSerializer trait is used to serialize and deserialize structs so that they may become the payload of an IIDMessage |