|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TableService
Provides table lobbying services.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener |
| Method Summary | |
|---|---|
void |
bootPlayer(int tableId,
Name target,
InvocationService.InvocationListener listener)
Requests that another user be booted from the specified table. |
void |
createTable(TableConfig tableConfig,
GameConfig config,
InvocationService.ResultListener listener)
Requests that a new table be created. |
void |
joinTable(int tableId,
int position,
InvocationService.InvocationListener listener)
Requests that the current user be added to the specified table at the specified position. |
void |
leaveTable(int tableId,
InvocationService.InvocationListener listener)
Requests that the current user be removed from the specified table. |
void |
startTableNow(int tableId,
InvocationService.InvocationListener listener)
Requests that the specified table be started now, even if all seats are not occupied. |
| Method Detail |
|---|
void createTable(TableConfig tableConfig,
GameConfig config,
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,
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,
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,
InvocationService.InvocationListener listener)
void bootPlayer(int tableId,
Name target,
InvocationService.InvocationListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||