Package io.ably.lib.realtime
Class ConnectionStateListener.ConnectionStateChange
- java.lang.Object
-
- io.ably.lib.realtime.ConnectionStateListener.ConnectionStateChange
-
- Enclosing interface:
- ConnectionStateListener
public static class ConnectionStateListener.ConnectionStateChange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description ConnectionStatecurrentConnectionEventeventConnectionStatepreviousErrorInforeasonlongretryIn
-
Constructor Summary
Constructors Constructor Description ConnectionStateChange(ConnectionState previous, ConnectionState current, long retryIn, ErrorInfo reason)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionStateListener.ConnectionStateChangecreateUpdateEvent(ErrorInfo reason)
-
-
-
Field Detail
-
event
public final ConnectionEvent event
-
previous
public final ConnectionState previous
-
current
public final ConnectionState current
-
retryIn
public final long retryIn
-
reason
public final ErrorInfo reason
-
-
Constructor Detail
-
ConnectionStateChange
public ConnectionStateChange(ConnectionState previous, ConnectionState current, long retryIn, ErrorInfo reason)
-
-
Method Detail
-
createUpdateEvent
public static ConnectionStateListener.ConnectionStateChange createUpdateEvent(ErrorInfo reason)
-
-