|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for Remote SetGameConnection
.
Method Summary | |
void |
close()
Close the game connection, effectively leaving the game. |
boolean |
isClosed()
Say wether the game connection is closed or not. |
void |
matchSet(CardSet set)
Used by a registered player to try to match a set of set. |
Method Detail |
public void matchSet(CardSet set) throws java.rmi.RemoteException, MatchingException
set
- the set to try to match.
MatchingException
- if the set doesn't match or if a card is not on the board.
java.rmi.RemoteException
- upon communication related exception on this remote callSetGameConnection.matchSet(org.cb.jset.CardSet)
public void close() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callSetGameConnection.close()
public boolean isClosed() throws java.rmi.RemoteException
true
if the connection is closed, false
otherwise.
java.rmi.RemoteException
- upon communication related exception on this remote callSetGameConnection.isClosed()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |