struct Lattice::SubscriptionManager
- Lattice::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:
lattice/subscription_manager.crConstructors
Instance Method Summary
- #dispatch(client_socket, message)
- #initialize
- #on_uncaptured_event : Proc(JSON::Any, Nil) | Nil
- #on_uncaptured_event=(on_uncaptured_event : Proc(JSON::Any, Nil) | Nil)
- #subscriptions : Hash(String, Lattice::Channel)
- #subscriptions=(subscriptions : Hash(String, Lattice::Channel))