@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from TableService.java.")
public class TableMarshaller
extends com.threerings.presents.data.InvocationMarshaller
implements TableService
TableService interface
that marshalls the arguments and delivers the request to the provider
on the server. Also provides an implementation of the response listener
interfaces that marshall the response arguments and deliver them back
to the requesting client.com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshaller| Modifier and Type | Field and Description |
|---|---|
static int |
BOOT_PLAYER
The method id used to dispatch
bootPlayer(int, com.threerings.util.Name, com.threerings.presents.client.InvocationService.InvocationListener) requests. |
static int |
CREATE_TABLE
The method id used to dispatch
createTable(com.threerings.parlor.data.TableConfig, com.threerings.parlor.game.data.GameConfig, com.threerings.presents.client.InvocationService.ResultListener) requests. |
static int |
JOIN_TABLE
The method id used to dispatch
joinTable(int, int, com.threerings.presents.client.InvocationService.InvocationListener) requests. |
static int |
LEAVE_TABLE
The method id used to dispatch
leaveTable(int, com.threerings.presents.client.InvocationService.InvocationListener) requests. |
static int |
START_TABLE_NOW
The method id used to dispatch
startTableNow(int, com.threerings.presents.client.InvocationService.InvocationListener) requests. |
| Constructor and Description |
|---|
TableMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootPlayer(int arg1,
com.threerings.util.Name arg2,
com.threerings.presents.client.InvocationService.InvocationListener arg3)
Requests that another user be booted from the specified table.
|
void |
createTable(TableConfig arg1,
GameConfig arg2,
com.threerings.presents.client.InvocationService.ResultListener arg3)
Requests that a new table be created.
|
void |
joinTable(int arg1,
int arg2,
com.threerings.presents.client.InvocationService.InvocationListener arg3)
Requests that the current user be added to the specified table at the specified position.
|
void |
leaveTable(int arg1,
com.threerings.presents.client.InvocationService.InvocationListener arg2)
Requests that the current user be removed from the specified table.
|
void |
startTableNow(int arg1,
com.threerings.presents.client.InvocationService.InvocationListener arg2)
Requests that the specified table be started now, even if all seats are not occupied.
|
public static final int BOOT_PLAYER
bootPlayer(int, com.threerings.util.Name, com.threerings.presents.client.InvocationService.InvocationListener) requests.public static final int CREATE_TABLE
createTable(com.threerings.parlor.data.TableConfig, com.threerings.parlor.game.data.GameConfig, com.threerings.presents.client.InvocationService.ResultListener) requests.public static final int JOIN_TABLE
joinTable(int, int, com.threerings.presents.client.InvocationService.InvocationListener) requests.public static final int LEAVE_TABLE
leaveTable(int, com.threerings.presents.client.InvocationService.InvocationListener) requests.public static final int START_TABLE_NOW
startTableNow(int, com.threerings.presents.client.InvocationService.InvocationListener) requests.public void bootPlayer(int arg1,
com.threerings.util.Name arg2,
com.threerings.presents.client.InvocationService.InvocationListener arg3)
TableServicebootPlayer in interface TableServicepublic void createTable(TableConfig arg1, GameConfig arg2, com.threerings.presents.client.InvocationService.ResultListener arg3)
TableServicecreateTable in interface TableServicearg1 - the table configuration parameters.arg2 - the game config for the game to be matchmade by the table.arg3 - will receive and process the response.public void joinTable(int arg1,
int arg2,
com.threerings.presents.client.InvocationService.InvocationListener arg3)
TableServicejoinTable in interface TableServicearg1 - the unique id of the table to which this user wishes to be added.arg2 - the position at the table to which this user desires to be added.arg3 - will receive and process the response.public void leaveTable(int arg1,
com.threerings.presents.client.InvocationService.InvocationListener arg2)
TableServiceleaveTable in interface TableServicearg1 - the unique id of the table from which this user wishes to be removed.arg2 - will receive and process the response.public void startTableNow(int arg1,
com.threerings.presents.client.InvocationService.InvocationListener arg2)
TableServicestartTableNow in interface TableServiceCopyright © 2015. All rights reserved.