public class ParlorDecoder
extends com.threerings.presents.client.InvocationDecoder
ParlorReceiver instance.| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
ParlorDecoder(ParlorReceiver receiver)
Creates a decoder that may be registered to dispatch invocation
service notifications to the specified receiver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchNotification(int methodId,
Object[] args) |
String |
getReceiverCode() |
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.public ParlorDecoder(ParlorReceiver receiver)
public String getReceiverCode()
getReceiverCode in class com.threerings.presents.client.InvocationDecoderpublic void dispatchNotification(int methodId,
Object[] args)
dispatchNotification in class com.threerings.presents.client.InvocationDecoderCopyright © 2015. All rights reserved.