public class ConnectionStateChange extends java.lang.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(java.lang.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()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object