|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleClientListener
A listener used in conjunction with a SimpleClient.
A SimpleClientListener, specified when a
SimpleClient is constructed, is notified of
connection-related events generated during login session establishment,
client reconnection, and client logout, and also is notified of message
receipt.
SimpleClient| Method Summary | |
|---|---|
PasswordAuthentication |
getPasswordAuthentication()
Requests a login credential for the client associated with this listener. |
void |
loggedIn()
Notifies this listener that a session has been established with the server as a result of a successful login. |
void |
loginFailed(String reason)
Notifies this listener that a session could not be established with the server due to some failure logging in such as failure to verify a login credential. |
| Methods inherited from interface com.sun.sgs.client.ServerSessionListener |
|---|
disconnected, joinedChannel, receivedMessage, reconnected, reconnecting |
| Method Detail |
|---|
PasswordAuthentication getPasswordAuthentication()
void loggedIn()
void loginFailed(String reason)
reason - a description of the failure
|
RedDwarf, Version 0.10.0 2010-02-12 09:11:07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||