Package io.ably.lib.realtime
Interface ConnectionStateListener
-
- All Known Implementing Classes:
ConnectionStateListener.Filter,ConnectionStateListener.Multicaster
public interface ConnectionStateListenerAn interface whereby a client may be notified of state changes for a connection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConnectionStateListener.ConnectionStateChangeContainsConnectionStatechange information emitted by theConnectionobject.static classConnectionStateListener.Filterstatic classConnectionStateListener.Multicaster
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonConnectionStateChanged(ConnectionStateListener.ConnectionStateChange state)Called when connection state changes.
-
-
-
Method Detail
-
onConnectionStateChanged
void onConnectionStateChanged(ConnectionStateListener.ConnectionStateChange state)
Called when connection state changes.- Parameters:
state- information about the new state. CheckConnectionState- for all states available.
-
-