Package bluffinmuffin.protocol.commands.lobby

Examples of bluffinmuffin.protocol.commands.lobby.JoinTableCommand


        {
            listTables(new ListTableCommand(token));
        }
        else if (commandName.equals(JoinTableCommand.COMMAND_NAME))
        {
            joinTables(new JoinTableCommand(token));
        }
        else if (commandName.equals(GameCommand.COMMAND_NAME))
        {
            game(new GameCommand(token));
        }
View Full Code Here


    }
   
    public GameTCPClient joinTable(int p_noPort, String p_tableName, IPokerViewer gui)
    {
        // Build query.
        final JoinTableCommand command = new JoinTableCommand(m_playerName, p_noPort);
       
        // Send query.
        m_toServer.println(command.encode());
       
        // Wait for response.
        final StringTokenizer token2 = receiveCommand(JoinTableResponse.COMMAND_NAME);
        final JoinTableResponse response2 = new JoinTableResponse(token2);
        final int noSeat = response2.getNoSeat();
View Full Code Here

TOP

Related Classes of bluffinmuffin.protocol.commands.lobby.JoinTableCommand

Copyright © 2018 www.massapicom. 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.