|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pusher.client.connection.ConnectionStateChange
public class ConnectionStateChange
Represents a change in connection state.
| Constructor Summary | |
|---|---|
ConnectionStateChange(ConnectionState previousState,
ConnectionState currentState)
Used within the library to create a connection state change. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ConnectionState |
getCurrentState()
The current connection state. |
ConnectionState |
getPreviousState()
The previous connections state. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionStateChange(ConnectionState previousState,
ConnectionState currentState)
previousState - currentState - | Method Detail |
|---|
public ConnectionState getPreviousState()
public ConnectionState getCurrentState()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||