Module: OnStomp::Interfaces::SubscriptionManager
- Included in:
- Client
- Defined in:
- lib/onstomp/interfaces/subscription_manager.rb
Overview
Mixin for clients to provide receipt management
Instance Method Summary (collapse)
-
- (Array<OnStomp::Components::Subscription>) subscriptions
Returns an array of Components::Subscription objects for all currently active subscriptions.
Instance Method Details
- (Array<OnStomp::Components::Subscription>) subscriptions
Returns an array of Components::Subscription objects for all currently active subscriptions.
8 9 10 |
# File 'lib/onstomp/interfaces/subscription_manager.rb', line 8 def subscriptions @subcription_mon.synchronize { @subscriptions.values } end |