|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ConnectionState | |
|---|---|
| com.pusher.client | Classes for connecting to Pusher, configuring the Pusher instance and authenticating subscriptions. |
| com.pusher.client.connection | Classes related to the Pusher connection, connection state and monitoring connection state changes. |
| com.pusher.client.connection.websocket | |
| Uses of ConnectionState in com.pusher.client |
|---|
| Methods in com.pusher.client with parameters of type ConnectionState | |
|---|---|
void |
Pusher.connect(ConnectionEventListener eventListener,
ConnectionState... connectionStates)
Binds a ConnectionEventListener to the specified events and then connects to Pusher. |
| Uses of ConnectionState in com.pusher.client.connection |
|---|
| Methods in com.pusher.client.connection that return ConnectionState | |
|---|---|
ConnectionState |
ConnectionStateChange.getCurrentState()
The current connection state. |
ConnectionState |
ConnectionStateChange.getPreviousState()
The previous connections state. |
ConnectionState |
Connection.getState()
Gets the current connection state. |
static ConnectionState |
ConnectionState.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConnectionState[] |
ConnectionState.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.pusher.client.connection with parameters of type ConnectionState | |
|---|---|
void |
Connection.bind(ConnectionState state,
ConnectionEventListener eventListener)
Bind to connection events. |
boolean |
Connection.unbind(ConnectionState state,
ConnectionEventListener eventListener)
Unbind from connection state changes. |
| Constructors in com.pusher.client.connection with parameters of type ConnectionState | |
|---|---|
ConnectionStateChange(ConnectionState previousState,
ConnectionState currentState)
Used within the library to create a connection state change. |
|
| Uses of ConnectionState in com.pusher.client.connection.websocket |
|---|
| Methods in com.pusher.client.connection.websocket that return ConnectionState | |
|---|---|
ConnectionState |
WebSocketConnection.getState()
|
| Methods in com.pusher.client.connection.websocket with parameters of type ConnectionState | |
|---|---|
void |
WebSocketConnection.bind(ConnectionState state,
ConnectionEventListener eventListener)
|
boolean |
WebSocketConnection.unbind(ConnectionState state,
ConnectionEventListener eventListener)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||