ks.client.interfaces
Interface IClientInterface2

All Superinterfaces:
IClientInterface

public interface IClientInterface2
extends IClientInterface

To avoid modifying any existing interfaces, this new interface extends the existing ClientInterface with additional functionality as may be required in the future. All clients should connect to ClientInterface2 instead of the backward-compatible ClientInterface.


Method Summary
 ITableGUI getTable(java.lang.String tableName, java.lang.String tableType)
          Return GameWindow from our hashtable by name/type.
 boolean playingTable()
          Determine if player has an active table.
 
Methods inherited from interface ks.client.interfaces.IClientInterface
clearActiveGames, clearActiveTables, clearActiveUsers, interpret, output, parentFrame, registerActiveGame, registerActiveTable, registerActiveUser, registerGame, sendCommand, serverReady, status, validateJoinRequest
 

Method Detail

getTable

public ITableGUI getTable(java.lang.String tableName,
                          java.lang.String tableType)
Return GameWindow from our hashtable by name/type. Note that if no-game has been entered into with the given information, null is returned.

Returns:
ks.client.interfaces.ITableGUI

playingTable

public boolean playingTable()
Determine if player has an active table. Note that if no-game has been entered into with the given information

Returns:
true if user is on a table.