Package io.ably.lib.realtime
Interface ConnectionStateListener
- All Known Implementing Classes:
-
ConnectionStateListener.Filter
,ConnectionStateListener.Multicaster
public interface ConnectionStateListener
An interface whereby a client may be notified of state changes for a connection.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
ContainsConnectionState
change information emitted by theConnection
object.static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when connection state changes.
-
Method Details
-
onConnectionStateChanged
Called when connection state changes.- Parameters:
-
state
- information about the new state. CheckConnectionState
- for all states available.
-