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
Provides the structure of the payload of an IIDMessage when the IIDMessage has a type of MessageType::Config
Supports the ConfigMessageType::Field ConfigMessage for more complex configurations.
Provides the structure of a message that is sent between FBP nodes.
Provides the structure of payload of an IIDMessage when the IIDMessage has a type of MessageType::Process
Enums
Defines the types of Config messages that are the payload of an IIDMessage
Defines the type of an IIDMessage
Defines the types of Process messages for an FBP node
Defines the sub-types of an IIDMessage
Traits
The MessageSerializer trait is used to serialize and deserialize structs so that they may become the payload of an IIDMessage