|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SrvrSessionListener
This interface represents server session events listener.
User: MMarkelov Date: 08.10.12 Time: 13:31:03
| Method Summary | |
|---|---|
void |
onConnectionLost(java.lang.String description)
This method is called whether this connection is been closed by peer or due to some connection failure. |
void |
onLogin(int result,
java.lang.String description)
This callback is called by the system to indicate login result. |
void |
onStatusMessage(int status,
java.lang.String[] extra)
This method is called when any status message received. |
| Method Detail |
|---|
void onLogin(int result,
java.lang.String description)
result - equals to 0 for successful connection attempt,
any other value means there was an error while connecting to the server.description - contains error text,
null if there was no error.void onConnectionLost(java.lang.String description)
description - contains error text
void onStatusMessage(int status,
java.lang.String[] extra)
status - contains status message idextra - contains extended information
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||