public interface TableService
extends com.threerings.presents.client.InvocationService
| Modifier and Type | Method and Description |
|---|---|
void |
bootPlayer(int tableId,
com.threerings.util.Name target,
com.threerings.presents.client.InvocationService.InvocationListener listener)
Requests that another user be booted from the specified table.
|
void |
createTable(TableConfig tableConfig,
GameConfig config,
com.threerings.presents.client.InvocationService.ResultListener listener)
Requests that a new table be created.
|
void |
joinTable(int tableId,
int position,
com.threerings.presents.client.InvocationService.InvocationListener listener)
Requests that the current user be added to the specified table at the specified position.
|
void |
leaveTable(int tableId,
com.threerings.presents.client.InvocationService.InvocationListener listener)
Requests that the current user be removed from the specified table.
|
void |
startTableNow(int tableId,
com.threerings.presents.client.InvocationService.InvocationListener listener)
Requests that the specified table be started now, even if all seats are not occupied.
|
void createTable(TableConfig tableConfig, GameConfig config, com.threerings.presents.client.InvocationService.ResultListener listener)
tableConfig - the table configuration parameters.config - the game config for the game to be matchmade by the table.listener - will receive and process the response.void joinTable(int tableId,
int position,
com.threerings.presents.client.InvocationService.InvocationListener listener)
tableId - the unique id of the table to which this user wishes to be added.position - the position at the table to which this user desires to be added.listener - will receive and process the response.void leaveTable(int tableId,
com.threerings.presents.client.InvocationService.InvocationListener listener)
tableId - the unique id of the table from which this user wishes to be removed.listener - will receive and process the response.void startTableNow(int tableId,
com.threerings.presents.client.InvocationService.InvocationListener listener)
void bootPlayer(int tableId,
com.threerings.util.Name target,
com.threerings.presents.client.InvocationService.InvocationListener listener)
Copyright © 2015. All rights reserved.