stomp_impl_util library

Classes

Frame
A STOMP frame. [...]
FrameParser
The STOMP frame parser. [...]

Constants

ABORT → const String
"ABORT"
ACK → const String
"ACK"
BEGIN → const String
"BEGIN"
COMMIT → const String
"COMMIT"
CONNECT → const String
"CONNECT"
CONNECTED → const String
"CONNECTED"
DISCONNECT → const String
"DISCONNECT"
ERROR → const String
"ERROR"
MESSAGE → const String
"MESSAGE"
NACK → const String
"NACK"
RECEIPT → const String
"RECEIPT"
SEND → const String
"SEND"
STOMP → const String
"STOMP"
SUBSCRIBE → const String
"SUBSCRIBE"
UNSUBSCRIBE → const String
"UNSUBSCRIBE"

Functions

addHeaders(Map<String, String> headers, Map<String, String> extra) → Map<String, String>
Adds the additional headers (extra) into a given header (headers). If both headers and extra are null, null is returned. Otherwise, a non-null map is returned.
writeDataFrame(StompConnector connector, String command, Map<String, String> headers, String string, [ List<int> bytes ]) → void
Write a data frame used by SEND, ERROR and MESSAGE.
writeHeaders(StompConnector connector, String command, Map<String, String> headers, { bool endOfHeaders: true }) → void
Writes the headers (excluding body and End-of-Frame) [...]
writeSimpleFrame(StompConnector connector, String command, Map<String, String> headers) → void
Write a simple frame, such as STOMP, CONNECTED.
writeStreamFrame(StompConnector connector, String command, Map<String, String> headers, Stream<List<int>> stream) → Future
Write a frame from the given stream