class Ably::Realtime::Models::NilChannel
Nil object for Channels
, this object is only used within the internal API of this client library @api private
Constants
- STATE
Attributes
Public Class Methods
Source
# File lib/ably/realtime/models/nil_channel.rb, line 13 def initialize @state_machine = Ably::Realtime::Channel::ChannelStateMachine.new(self) @state = STATE(state_machine.current_state) end
Public Instance Methods
Source
# File lib/ably/realtime/models/nil_channel.rb, line 22 def __incoming_msgbus__ @__incoming_msgbus__ ||= Ably::Util::PubSub.new end
Source
# File lib/ably/realtime/models/nil_channel.rb, line 26 def logger @logger ||= Ably::Models::NilLogger.new end