public class ConnectionStateChange extends Object
Constructor and Description |
---|
ConnectionStateChange(ConnectionState previousState,
ConnectionState currentState)
Used within the library to create a connection state change.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ConnectionState |
getCurrentState()
The current connection state.
|
ConnectionState |
getPreviousState()
The previous connections state.
|
int |
hashCode() |
public ConnectionStateChange(ConnectionState previousState, ConnectionState currentState)
previousState
- The previous connection statecurrentState
- The current connection statepublic ConnectionState getPreviousState()
public ConnectionState getCurrentState()
Copyright © 2017 Pusher. All rights reserved.