Frames that mix this trait can add a block of attributes.
Frames that mix this trait can add a block of attributes. Attributes are a list of pairs of String and byte arrays.
Frames that mix this trait can add a body, which is a byte array at the end of the frame.
Empty frame that signals the normal finalization of a connection.
Empty frame that signals the normal finalization of a connection. Nothing is sent or received after this frame.
Frame sent by clients to open or close a flow.
Frame sent by clients to open or close a flow.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ │0│ Flow ID (31 bits) │ ├─┼─┬─┬─┬─┬─┬─┬─┬───────────────────────────────────────────────╯ │ Open (0 or 1) │ ╰───────────────╯
Base trait for all protocol frames.
Base trait for all protocol frames.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭─┬─┬─┬─┬─┬─┬─┬─╮ │ Type (8) │ ├─┬─┬─┬─┬─┬─┬─┬─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─╮ │0│ Message Length (31 bits) │ ├─┴─────────────────────────────────────────────────────────────┤ ╎ ╎ ╎ Data (see sub types) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Empty frame that keeps the connection with some activity when there are not other kind of frames.
Empty frame that keeps the connection with some activity when there are not other kind of frames. The protocol mandates to send a heartbeat after 5 seconds of not sending anything.
First frame send by both parties in the beginning of every connection.
First frame send by both parties in the beginning of every connection.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├───────────────────────────────────────────────────────────────┤ ╎ ╎ ╎ Attributes (see AttributeSupport) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Frame sent by clients, represents and unrespondible message.
Frame sent by clients, represents and unrespondible message.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├───────────────────────────────────────────────────────────────┤ ╎ ╎ ╎ Attributes (see AttributeSupport) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ ╎ ╎ ╎ Body (see BodySupport) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Frame sent by clients.
Frame sent by clients. Represents a respondible message.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ │0│ Request ID (31 bits) │ ├─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ │0│ Flow ID (31 bits) │ ├─┼─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ │0│ Timeout (31 bits) │ ├─┴─────────────────────────────────────────────────────────────┤ ╎ ╎ ╎ Attributes (see AttributeSupport) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ ╎ ╎ ╎ Body (see BodySupport) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Frame that is sent in the event of an abnormal connection termination.
Frame that is sent in the event of an abnormal connection termination. The body can have a reason. Nothing is sent or received after this frame.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ ╎ ╎ ╎ Body (see BodySupport) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Frame sent by servers to respond to messages.
Frame sent by servers to respond to messages.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ╭───────────────────────────────────────────────────────────────╮ ╎ ╎ ╎ Header (see Frame) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ │0│ Reference (31 bits) │ ├─┴─────────────────────────────────────────────────────────────┤ ╎ ╎ ╎ Attributes (see AttributeSupport) ╎ ╎ ╎ ├─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┤ ╎ ╎ ╎ Body (see BodySupport) ╎ ╎ ╎ ╰───────────────────────────────────────────────────────────────╯
Special frame type, which represents an unknown received frame.
Special frame type, which represents an unknown received frame. It is never written.
Package that contains the classes that represent Mot frames.