struct Amber::WebSockets::SubscriptionManager
- Amber::WebSockets::SubscriptionManager
- Struct
- Value
- Object
Overview
SubscriptionManager
manages the list of channel subscriptions for the socket connection.
Also handles dispatching actions (messages) to the appropriate channel.
Defined in:
amber/websockets/subscription_manager.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #dispatch(client_socket, message)
- #initialize
- #subscriptions : Hash(String, Amber::WebSockets::Channel)
- #subscriptions=(subscriptions : Hash(String, Amber::WebSockets::Channel))