Class: Ably::Realtime::Client::IncomingMessageDispatcher
- Inherits:
-
Object
- Object
- Ably::Realtime::Client::IncomingMessageDispatcher
- Defined in:
- lib/ably/realtime/client/incoming_message_dispatcher.rb
Overview
IncomingMessageDispatcher is a (private) class that is used to dispatch Models::ProtocolMessage that are received from Ably via the Ably::Realtime::Connection
Constant Summary collapse
- ACTION =
Ably::Models::ProtocolMessage::ACTION
Instance Method Summary collapse
-
#initialize(client, connection) ⇒ IncomingMessageDispatcher
constructor
A new instance of IncomingMessageDispatcher.
Constructor Details
#initialize(client, connection) ⇒ IncomingMessageDispatcher
Returns a new instance of IncomingMessageDispatcher.
8 9 10 11 12 13 |
# File 'lib/ably/realtime/client/incoming_message_dispatcher.rb', line 8 def initialize(client, connection) @client = client @connection = connection end |