public class AIClient extends Object implements com.sun.sgs.client.simple.SimpleClientListener
| Modifier and Type | Method and Description |
|---|---|
void |
disconnected(boolean graceful,
String reason) |
PasswordAuthentication |
getPasswordAuthentication() |
com.sun.sgs.client.ClientChannelListener |
joinedChannel(com.sun.sgs.client.ClientChannel channel) |
void |
loggedIn() |
void |
loginFailed(String reason) |
static void |
main(String[] args) |
void |
receivedMessage(ByteBuffer message) |
void |
reconnected() |
void |
reconnecting() |
String |
toString() |
public AIClient(String name)
public PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in interface com.sun.sgs.client.simple.SimpleClientListenerpublic com.sun.sgs.client.ClientChannelListener joinedChannel(com.sun.sgs.client.ClientChannel channel)
joinedChannel in interface com.sun.sgs.client.ServerSessionListenerpublic void loggedIn()
loggedIn in interface com.sun.sgs.client.simple.SimpleClientListenerpublic void loginFailed(String reason)
loginFailed in interface com.sun.sgs.client.simple.SimpleClientListenerpublic void disconnected(boolean graceful,
String reason)
disconnected in interface com.sun.sgs.client.ServerSessionListenerpublic void reconnecting()
reconnecting in interface com.sun.sgs.client.ServerSessionListenerpublic void reconnected()
reconnected in interface com.sun.sgs.client.ServerSessionListenerpublic void receivedMessage(ByteBuffer message)
receivedMessage in interface com.sun.sgs.client.ServerSessionListenerCopyright © 2013. All Rights Reserved.