StompTransactionFrameFactory class
Helper for creating transaction-related 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
-
abort(
{required String transactionId, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates an ABORT frame
-
addTransactionHeader(
StompFrame frame, String transactionId) → StompFrame - Adds transaction header to a frame
-
begin(
{required String transactionId, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a BEGIN frame
-
commit(
{required String transactionId, String? receipt, Map< String, String> ? additionalHeaders}) → StompFrame - Creates a COMMIT frame
-
getTransactionId(
StompFrame frame) → String? - Gets the transaction ID from a frame
-
hasTransactionHeader(
StompFrame frame) → bool - Checks if a frame has a transaction header
-
removeTransactionHeader(
StompFrame frame) → StompFrame - Removes transaction header from a frame