コード例 #1
0
  /** referee decides the winner of the match */
  private VectorTimestamp declareMatchWinner(VectorTimestamp vt) throws RemoteException {

    return site.declareMatchWinner(vt);
  }
コード例 #2
0
 /**
  * referee announces a new game
  *
  * @param nrGame is the number of the game
  * @param nrTrial is the number of the trial
  */
 private VectorTimestamp announceNewGame(int nrGame, int nrTrial, VectorTimestamp vt)
     throws RemoteException {
   return site.announceNewGame(nrGame, nrTrial, vt);
 }
コード例 #3
0
  /**
   * referee declares the winner of the game
   *
   * @param posPull is the position of the pull
   */
  private VectorTimestamp declareGameWinner(int posPull, VectorTimestamp vt)
      throws RemoteException {

    return site.declareGameWinner(posPull, vt);
  }