// // AHF 10/31/2002 // // Poker Game Server public interface // import java.rmi.Remote; import java.rmi.RemoteException; public interface GameServer extends Remote { // Register as a new player public int Register(String name) throws RemoteException; // Get a message from the queue public ReturnMessage getMessage(int id) throws RemoteException; // Request that the game be started public void gameStartRequest(int id) throws RemoteException; // Player bets public void insertBet(int id, int bet) throws RemoteException; // Ask Server to send a status string back to the player public void getPlayerStatus(int id) throws RemoteException; // Player folds public void fold(int id, boolean quit_flag) throws RemoteException; // Player requests to quit: public void requestQuit(int id) throws RemoteException; }