// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   gameServer.java

package boggle.server;

import boggle.server.comms.serverClient;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

// Referenced classes of package boggle.server:
//            gamePool, gameServerInterface

public class gameServer extends UnicastRemoteObject
    implements gameServerInterface
{

    public gameServer(serverClient serverclient)
        throws RemoteException
    {
        gamePool.initialise(serverclient);
    }

    public int newGame(int i, int j, int k)
        throws RemoteException
    {
        return gamePool.newGame(i, j, k);
    }

    public int joinGame(int i, int j)
        throws RemoteException
    {
        return gamePool.joinGame(i, j);
    }

    public void finalScore(int i, int j, int k)
        throws RemoteException
    {
        gamePool.finalScore(i, j, k);
    }

    public String getGameDefinition(int i)
        throws RemoteException
    {
        return gamePool.getGameDefinition(i);
    }
}
