Package io.ably.lib.realtime
Class ChannelStateListener.ChannelStateChange
java.lang.Object
io.ably.lib.realtime.ChannelStateListener.ChannelStateChange
- Enclosing interface:
- ChannelStateListener
Contains state change information emitted by
Channel
objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ChannelState
The new currentChannelState
.final ChannelEvent
The event that triggered thisChannelState
change.final ChannelState
The previous state.final ErrorInfo
AnErrorInfo
object containing any information relating to the transition.final boolean
Indicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info. -
Method Summary
-
Field Details
-
event
The event that triggered thisChannelState
change.Spec: TH5
-
current
The new currentChannelState
.Spec: RTL2a, RTL2b
-
previous
The previous state. For theChannelEvent.update
event, this is equal to the currentChannelState
.Spec: RTL2a, RTL2b
-
reason
AnErrorInfo
object containing any information relating to the transition.Spec: RTL2e, TH3
-
resumed
public final boolean resumedIndicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info.Spec: RTL2f, TH4
-