|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GameController
A local controller listening on view events that may have global effects. It informs a global message passer of such events, and it receives commands from the message passer in response to remote game events.
Method Summary | |
---|---|
void |
quit()
Invoked by the message passer when the other player wants to quit. |
void |
setChatMessage(java.lang.String message)
Invoked by the message passer when the other player sends a chat message. |
void |
updateStatus(int messageNumber,
java.lang.String message)
Invoked by the message passer when status has changed by another players move. |
Method Detail |
---|
void updateStatus(int messageNumber, java.lang.String message) throws java.rmi.RemoteException
messageNumber
- A protocol message numbermessage
- A message
java.rmi.RemoteException
Protocol
void quit() throws java.rmi.RemoteException
java.rmi.RemoteException
void setChatMessage(java.lang.String message) throws java.rmi.RemoteException
message
-
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |