|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectClientConnEvent
An event fired upon a change in the connection state of an
AbstractClientConn
.
Constructor Summary | |
protected |
ClientConnEvent(ClientConn conn,
ClientConn.State oldState,
ClientConn.State newState,
java.lang.Object reason)
Creates a new event representing a state change on the given connection. |
Method Summary | |
ClientConn |
getClientConn()
Returns the connection that fired this event. |
ClientConn.State |
getNewState()
Returns the new state of the connection that fired this event. |
ClientConn.State |
getOldState()
Returns the previous state of the connection that fired this event. |
java.lang.Object |
getReason()
Returns an object representing a reason, description, or explanation for why this state change occurred, or null to represent
an implied reason or lack of information as to why it happened. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ClientConnEvent(ClientConn conn, ClientConn.State oldState, ClientConn.State newState, java.lang.Object reason)
conn
- the connection firing this eventoldState
- the previous state of the given connectionnewState
- the new state of the given connectionreason
- a reason, description, or explanation for the state change,
or null
to indicate an implied reason or no reason
at allMethod Detail |
public final ClientConn getClientConn()
public final ClientConn.State getOldState()
public final ClientConn.State getNewState()
public final java.lang.Object getReason()
null
to represent
an implied reason or lack of information as to why it happened.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |