|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.isi.gamebots.client.GamebotsClient.Adapter
Simple implementation of a GamebotsClient.Listener.
| Constructor Summary | |
GamebotsClient.Adapter()
|
|
| Method Summary | |
void |
connected()
Notifies the Listener that the client has been
connected to the server. |
void |
disconnected()
Notifies the Listener that the client has been
disconnected from the server. |
void |
receivedAsyncMessage(Message message)
Notifies the Listener of a new asynchronous message. |
void |
receivedError(Throwable error)
Notifies the Listener of any error that occured. |
void |
receivedSyncMessage(MessageBlock message)
Notifies the Listener of a new synchronous message, also know as a vision block. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GamebotsClient.Adapter()
| Method Detail |
public void connected()
client has been
connected to the server.
connected in interface GamebotsClient.ListenerGamebotsClient.Listener.connected()public void receivedAsyncMessage(Message message)
receivedAsyncMessage in interface GamebotsClient.ListenerGamebotsClient.Listener.receivedAsyncMessage(edu.isi.gamebots.client.Message)public void receivedSyncMessage(MessageBlock message)
receivedSyncMessage in interface GamebotsClient.ListenerGamebotsClient.Listener.receivedSyncMessage(edu.isi.gamebots.client.MessageBlock)public void receivedError(Throwable error)
receivedError in interface GamebotsClient.ListenerGamebotsClient.Listener.receivedError(java.lang.Throwable)public void disconnected()
client has been
disconnected from the server.
disconnected in interface GamebotsClient.ListenerGamebotsClient.Listener.disconnected()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||