StompTransaction class

Represents a STOMP transaction

Constructors

StompTransaction.new({required String id})

Properties

duration Duration
Gets the duration of this transaction
no setter
frames List<StompFrame>
Gets the frames in this transaction
no setter
hashCode int
The hash code for this object.
no setteroverride
id String
final
isAborted bool
Whether this transaction has been aborted
no setter
isActive bool
Whether this transaction is active (not committed or aborted)
no setter
isCommitted bool
Whether this transaction has been committed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
final

Methods

addFrame(StompFrame frame) → void
Adds a frame to this transaction
markAborted() → void
Marks this transaction as aborted
markCommitted() → void
Marks this transaction as committed
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override