org.cb.jset.server
Interface RemoteSetGameConnection

All Superinterfaces:
java.rmi.Remote

public interface RemoteSetGameConnection
extends java.rmi.Remote

An interface for Remote SetGameConnection.

Version:
$Id: RemoteSetGameConnection.java 130 2004-04-15 05:18:07Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $

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

matchSet

public void matchSet(CardSet set)
              throws java.rmi.RemoteException,
                     MatchingException
Used by a registered player to try to match a set of set.

Parameters:
set - the set to try to match.
Throws:
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 call
See Also:
SetGameConnection.matchSet(org.cb.jset.CardSet)

close

public void close()
           throws java.rmi.RemoteException
Close the game connection, effectively leaving the game.

Throws:
java.rmi.RemoteException - upon communication related exception on this remote call
See Also:
SetGameConnection.close()

isClosed

public boolean isClosed()
                 throws java.rmi.RemoteException
Say wether the game connection is closed or not.

Returns:
true if the connection is closed, false otherwise.
Throws:
java.rmi.RemoteException - upon communication related exception on this remote call
See Also:
SetGameConnection.isClosed()


Copyright © 2004 CoffeeBreaks. All Rights Reserved.