class Ably::Realtime::Channel::ChannelProperties
Describes the properties of the channel state.
Attributes
Starts unset when a channel is instantiated, then updated with the channelSerial from each {Ably::Realtime::Channel::STATE.Attached} event that matches the channel. Used as the value for {Ably::Realtime::Channel#history}.
@spec CP2a
@return [String]
{Ably::Realtime::Channel} this object associated with
@return [Ably::Realtime::Channel]
ChannelSerial contains the channelSerial from latest ProtocolMessage of action type Message/PresenceMessage received on the channel.
@spec CP2b, RTL15b
@return [String]
Public Class Methods
Source
# File lib/ably/realtime/channel/channel_properties.rb, line 30 def initialize(channel) @channel = channel end
Public Instance Methods
Source
# File lib/ably/realtime/channel/channel_properties.rb, line 35 def set_attach_serial(attach_serial) @attach_serial = attach_serial end
@api private