|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionStateListener
Listener to monitor connection progress. Connection process goes thru the following states:
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. |
Method Detail |
---|
void onConnecting(OTHost addr)
addr
- server address.void onConnected()
void onRedirect(OTHost addr)
addr
- redirect address.void onLogin()
void onError(OTError error)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |