/*
 * File: ./REMOTEINTERFACE/_REMOTEPLAYERSTUB.JAVA
 * From: REMOTE.IDL
 * Date: Thu Jan 21 23:55:04 1999
 *   By: C:\JDK1.2\BIN\IDLTOJ~1.EXE Java IDL 1.2 Nov 10 1997 13:52:11
 */

package RemoteInterface;
public class _RemotePlayerStub
	extends org.omg.CORBA.portable.ObjectImpl
    	implements RemoteInterface.RemotePlayer {

    public _RemotePlayerStub(org.omg.CORBA.portable.Delegate d) {
          super();
          _set_delegate(d);
    }

    private static final String _type_ids[] = {
        "IDL:RemoteInterface/RemotePlayer:1.0"
    };

    public String[] _ids() { return (String[]) _type_ids.clone(); }

    //	IDL operations
    //	    Implementation of ::RemoteInterface::RemotePlayer::resetGame
    public void resetGame()
 {
           org.omg.CORBA.Request r = _request("resetGame");
           r.invoke();
   }
    //	    Implementation of ::RemoteInterface::RemotePlayer::yourMove
    public void yourMove(int[] state)
 {
           org.omg.CORBA.Request r = _request("yourMove");
           org.omg.CORBA.Any _state = r.add_in_arg();
           RemoteInterface.CurrentStateHelper.insert(_state, state);
           r.invoke();
   }
    //	    Implementation of ::RemoteInterface::RemotePlayer::isYourTurn
    public boolean isYourTurn()
 {
           org.omg.CORBA.Request r = _request("isYourTurn");
           r.set_return_type(org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean));
           r.invoke();
           boolean __result;
           __result = r.return_value().extract_boolean();
           return __result;
   }
    //	    Implementation of ::RemoteInterface::RemotePlayer::wonGame
    public void wonGame(int[] state)
 {
           org.omg.CORBA.Request r = _request("wonGame");
           org.omg.CORBA.Any _state = r.add_in_arg();
           RemoteInterface.CurrentStateHelper.insert(_state, state);
           r.invoke();
   }
    //	    Implementation of ::RemoteInterface::RemotePlayer::lostGame
    public void lostGame(int[] state)
 {
           org.omg.CORBA.Request r = _request("lostGame");
           org.omg.CORBA.Any _state = r.add_in_arg();
           RemoteInterface.CurrentStateHelper.insert(_state, state);
           r.invoke();
   }
    //	    Implementation of ::RemoteInterface::RemotePlayer::tieGame
    public void tieGame(int[] state)
 {
           org.omg.CORBA.Request r = _request("tieGame");
           org.omg.CORBA.Any _state = r.add_in_arg();
           RemoteInterface.CurrentStateHelper.insert(_state, state);
           r.invoke();
   }

};
