Package io.ably.lib.realtime
Class ChannelStateListener.ChannelStateChange
- java.lang.Object
-
- io.ably.lib.realtime.ChannelStateListener.ChannelStateChange
-
- Enclosing interface:
- ChannelStateListener
public static class ChannelStateListener.ChannelStateChange extends java.lang.ObjectContains state change information emitted byChannelobjects.
-
-
Field Summary
Fields Modifier and Type Field Description ChannelStatecurrentThe new currentChannelState.ChannelEventeventThe event that triggered thisChannelStatechange.ChannelStatepreviousThe previous state.ErrorInforeasonAnErrorInfoobject containing any information relating to the transition.booleanresumedIndicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info.
-
-
-
Field Detail
-
event
public final ChannelEvent event
The event that triggered thisChannelStatechange.Spec: TH5
-
current
public final ChannelState current
The new currentChannelState.Spec: RTL2a, RTL2b
-
previous
public final ChannelState previous
The previous state. For theChannelEvent.updateevent, this is equal to the currentChannelState.Spec: RTL2a, RTL2b
-
reason
public final ErrorInfo reason
AnErrorInfoobject containing any information relating to the transition.Spec: RTL2e, TH3
-
resumed
public final boolean resumed
Indicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info.Spec: RTL2f, TH4
-
-