StompFrameFactory class
Factory methods for creating common STOMP frames
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
ack(
{required String id, String? transaction, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates an ACK frame
-
connect(
{required String host, String acceptVersion = StompConstants.version, String? login, String? passcode, String heartBeat = StompConstants.defaultHeartBeat, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a CONNECT frame
-
connected(
{String version = StompConstants.version, String? session, String? server, String heartBeat = StompConstants.defaultHeartBeat, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a CONNECTED frame
-
disconnect(
{String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a DISCONNECT frame
-
error(
{required String message, String? receiptId, String? body, Uint8List? bodyBytes, Map< String, String> ? additionalHeaders}) → StompFrame - Creates an ERROR frame
-
nack(
{required String id, String? transaction, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a NACK frame
-
send(
{required String destination, String? body, Uint8List? bodyBytes, String? contentType, String? receipt, String? transaction, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a SEND frame
-
subscribe(
{required String destination, required String id, String ack = StompHeaders.ackAuto, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a SUBSCRIBE frame
-
unsubscribe(
{required String id, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates an UNSUBSCRIBE frame