Examples of joinTable()


Examples of mage.remote.SessionImpl.joinTable()

        mageClient2.setSession(session2);
        UUID roomId2 = session2.getMainRoomId();

        // connect to the table with the same deck
        if (!session2.joinTable(roomId2, table.getTableId(), TEST_USER_NAME_2 + i, "Human", 1, deckList,"")) {
            log.error("Error while joining table");
            Assert.assertTrue("Error while joining table", false);
            return true;
        }
View Full Code Here

Examples of mage.remote.SessionImpl.joinTable()

            log.info("Game type view: " + gameTypeView.getName());
            MatchOptions options = createGameOptions(gameTypeView, session);

            TableView table = session.createTable(roomId, options);

            if (!session.joinTable(roomId, table.getTableId(), TEST_USER_NAME + i, "Human", 1, deckList,"")) {
                log.error("Error while joining table");
                Assert.assertTrue("Error while joining table", false);
                return;
            }
View Full Code Here

Examples of mage.remote.SessionImpl.joinTable()

            Session session2 = new SessionImpl(mageClient2);
            session2.connect(connection2);
            UUID roomId2 = session2.getMainRoomId();

            // connect to the table with the same deck
            if (!session2.joinTable(roomId2, table.getTableId(), TEST_USER_NAME_2 + i, "Human", 1, deckList,"")) {
                log.error("Error while joining table");
                Assert.assertTrue("Error while joining table", false);
                return;
            }
View Full Code Here

Examples of org.cspoker.server.embedded.gamecontrol.PokerTable.joinTable()

      throw new IllegalArgumentException("The given holdem table listener is not effective.");
    if (!tables.containsKey(tableId)) {
      throw new IllegalActionException("The provided table #" + tableId + " to join does not exist.");
    }
    PokerTable table = tables.get(tableId);
    return table.joinTable(accountContext.getPlayer(), holdemTableListener);
  }
 
  public void removeTable(long tableId) {
    PokerTable table = tables.get(new TableId(tableId));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.