|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller
com.threerings.parlor.data.TableMarshaller
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from TableService.java.")
public class TableMarshaller
Provides the implementation of the 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshaller |
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
com.threerings.presents.client.InvocationService.ConfirmListener, com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
TableMarshaller()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
getInvocationCode, init, readField__invCode, readField__invOid, readObject, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
public TableMarshaller()
| Method Detail |
|---|
public void bootPlayer(int arg1,
com.threerings.util.Name arg2,
com.threerings.presents.client.InvocationService.InvocationListener arg3)
TableService
bootPlayer in interface TableService
public void createTable(TableConfig arg1,
GameConfig arg2,
com.threerings.presents.client.InvocationService.ResultListener arg3)
TableService
createTable 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)
TableService
joinTable 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)
TableService
leaveTable 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)
TableService
startTableNow in interface TableService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||