poa_backend v0.1.0 POABackend.Protocol.MessageType View Source

Regarding the POA Protocol only 2 types of message can be processed in the backend.

Those message types are

  • data - When data is sent to the backend. Data is also called “metric data”
  • bye - When the client wants to stop the communication

NOTE New message types can be added in future while the protocol is extended

Link to this section Summary

Types

t()

The message type. Only data and bye are allowed

Link to this section Types

Link to this type t() View Source
t() :: :data | :bye

The message type. Only data and bye are allowed