StompSubscriptionManager class

Manager for STOMP subscriptions

Properties

hashCode int
The hash code for this object.
no setterinherited
onSubscription Stream<StompSubscription>
Stream of new subscriptions
no setter
onUnsubscribe Stream<String>
Stream of unsubscribed subscription IDs
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptions List<StompSubscription>
Gets all active subscriptions
no setter

Methods

addSubscription({required String id, required String destination, String ackMode = StompHeaders.ackAuto, Map<String, String>? headers}) StompSubscription
Adds a new subscription
clear() → void
Removes all subscriptions
close() → void
Closes the subscription manager
deliverMessage(StompMessage message) bool
Delivers a message to the appropriate subscription
getSubscription(String id) StompSubscription?
Gets a subscription by ID
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeSubscription(String id) bool
Removes a subscription
toString() String
A string representation of this object.
override

Operators

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