|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WordMoleClient
This interface represents the WordMoleClient of the Remote Interface for the WordMoleClient.
| Method Summary | |
|---|---|
void |
cancelInvite()
The host has cancelled the Invitation. |
void |
displayMessage(java.lang.String message)
Display's the message on the WordMoleClient. |
void |
receiveGame(Game game)
The WordMoleClient receives an Game from the server. |
void |
receiveInvite(Invitation invite)
The WordMoleClient receives an Invite from another client. |
void |
receiveInviteDecision(Client client,
boolean decision)
The WordMoleClient as a host of an Invite receives a decision from one of the invitees. |
void |
updateClientList(Client[] clients)
Updates the WordMoleClient's playerList to display the current other players states. |
| Method Detail |
|---|
void updateClientList(Client[] clients)
throws java.rmi.RemoteException
clients - - Client [] - List of clients.
java.rmi.RemoteException
void receiveInvite(Invitation invite)
throws java.rmi.RemoteException
invite - - Invite received.
java.rmi.RemoteException
void receiveInviteDecision(Client client,
boolean decision)
throws java.rmi.RemoteException
client - - Client of the invitee.decision - - Decision of the invitee.
java.rmi.RemoteException
void cancelInvite()
throws java.rmi.RemoteException
java.rmi.RemoteException
void receiveGame(Game game)
throws java.rmi.RemoteException
game -
java.rmi.RemoteException
void displayMessage(java.lang.String message)
throws java.rmi.RemoteException
message - - Message received.
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||