|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.client.InvocationDecoder
com.threerings.parlor.client.ParlorDecoder
public class ParlorDecoder
Dispatches calls to a ParlorReceiver instance.
| Field Summary | |
|---|---|
static int |
GAME_IS_READY
The method id used to dispatch ParlorReceiver.gameIsReady(int)
notifications. |
static int |
RECEIVED_INVITE
The method id used to dispatch ParlorReceiver.receivedInvite(int, com.threerings.util.Name, com.threerings.parlor.game.data.GameConfig)
notifications. |
static int |
RECEIVED_INVITE_CANCELLATION
The method id used to dispatch ParlorReceiver.receivedInviteCancellation(int)
notifications. |
static int |
RECEIVED_INVITE_RESPONSE
The method id used to dispatch ParlorReceiver.receivedInviteResponse(int, int, java.lang.Object)
notifications. |
static String |
RECEIVER_CODE
The generated hash code used to identify this receiver class. |
| Fields inherited from class com.threerings.presents.client.InvocationDecoder |
|---|
receiver |
| Constructor Summary | |
|---|---|
ParlorDecoder(ParlorReceiver receiver)
Creates a decoder that may be registered to dispatch invocation service notifications to the specified receiver. |
|
| Method Summary | |
|---|---|
void |
dispatchNotification(int methodId,
Object[] args)
|
String |
getReceiverCode()
|
| Methods inherited from class com.threerings.presents.client.InvocationDecoder |
|---|
cast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RECEIVER_CODE
public static final int GAME_IS_READY
ParlorReceiver.gameIsReady(int)
notifications.
public static final int RECEIVED_INVITE
ParlorReceiver.receivedInvite(int, com.threerings.util.Name, com.threerings.parlor.game.data.GameConfig)
notifications.
public static final int RECEIVED_INVITE_CANCELLATION
ParlorReceiver.receivedInviteCancellation(int)
notifications.
public static final int RECEIVED_INVITE_RESPONSE
ParlorReceiver.receivedInviteResponse(int, int, java.lang.Object)
notifications.
| Constructor Detail |
|---|
public ParlorDecoder(ParlorReceiver receiver)
| Method Detail |
|---|
public String getReceiverCode()
getReceiverCode in class InvocationDecoder
public void dispatchNotification(int methodId,
Object[] args)
dispatchNotification in class InvocationDecoder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||