|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.otfeed.support.ConnectionStateListener
public class ConnectionStateListener
A no-op implementation of
IConnectionStateListener.
Useful if one needs to override just one or two methods, and is
not interested in monitoring other connection state changes.
| Constructor Summary | |
|---|---|
ConnectionStateListener()
|
|
| Method Summary | |
|---|---|
void |
onConnected()
Is called when connection enters "Connected" state. |
void |
onConnecting(OTHost addr)
Is called when connection enters "Connecting" state. |
void |
onError(OTError error)
Is called when connection terminates. |
void |
onLogin()
Is called when connection enters "Login" state. |
void |
onRedirect(OTHost addr)
Is called when connection enters "Redirect" state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionStateListener()
| Method Detail |
|---|
public void onConnecting(OTHost addr)
IConnectionStateListener
onConnecting in interface IConnectionStateListeneraddr - server address.public void onConnected()
IConnectionStateListener
onConnected in interface IConnectionStateListenerpublic void onRedirect(OTHost addr)
IConnectionStateListener
onRedirect in interface IConnectionStateListeneraddr - redirect address.public void onLogin()
IConnectionStateListener
onLogin in interface IConnectionStateListenerpublic void onError(OTError error)
IConnectionStateListener
onError in interface IConnectionStateListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||