StompSubscription class

Represents a STOMP subscription

Constructors

StompSubscription.new({required String id, required String destination, required String ackMode, Map<String, String>? headers})

Properties

ackMode String
final
destination String
final
hashCode int
The hash code for this object.
no setteroverride
headers Map<String, String>
final
id String
final
isActive bool
Whether this subscription is active
no setter
messages Stream<StompMessage>
Stream of messages for this subscription
no setter
onUnsubscribe Stream<void>
Stream that emits when the subscription is unsubscribed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deliverMessage(StompMessage message) → void
Delivers a message to this subscription
markUnsubscribed() → void
Marks this subscription as unsubscribed
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