|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the clients to play remotely a jset game. Defines the callbacks hooks made from the RemoteSetGame implementation to the remote client implementing this interface.
RemoteSetGame.connect(org.cb.jset.server.RemoteSetGamePlayer)
Method Summary | |
void |
block()
Called by a game when the player should be blocked. |
void |
disconnect()
Called to notify a disconnection from a game. |
java.lang.String |
getName()
|
boolean |
isBlocked()
A blocked player doesn't have the right to play. |
void |
unblock()
Called by a game when the player should be unblocked. |
Methods inherited from interface org.cb.jset.server.RemoteSetGameBoardListener |
cardsAdded, setRemoved |
Method Detail |
public java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callSetGamePlayer.getName()
public void block() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callSetGamePlayer.block()
public void unblock() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callSetGamePlayer.unblock()
public boolean isBlocked() throws java.rmi.RemoteException
true
is the player is blocked, false
otherwise.
java.rmi.RemoteException
- upon communication related exception on this remote callSetGamePlayer.isBlocked()
public void disconnect() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callSetGamePlayer.disconnect()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |