|
|||||||||
| 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.card.client.CardGameDecoder
public class CardGameDecoder
Dispatches calls to a CardGameReceiver instance.
| Field Summary | |
|---|---|
static int |
CARDS_TRANSFERRED_BETWEEN_PLAYERS
The method id used to dispatch CardGameReceiver.cardsTransferredBetweenPlayers(int, int, int)
notifications. |
static int |
RECEIVED_CARDS_FROM_PLAYER
The method id used to dispatch CardGameReceiver.receivedCardsFromPlayer(int, com.threerings.parlor.card.data.Card[])
notifications. |
static int |
RECEIVED_HAND
The method id used to dispatch CardGameReceiver.receivedHand(int, com.threerings.parlor.card.data.Hand)
notifications. |
static String |
RECEIVER_CODE
The generated hash code used to identify this receiver class. |
static int |
SENT_CARDS_TO_PLAYER
The method id used to dispatch CardGameReceiver.sentCardsToPlayer(int, com.threerings.parlor.card.data.Card[])
notifications. |
| Fields inherited from class com.threerings.presents.client.InvocationDecoder |
|---|
receiver |
| Constructor Summary | |
|---|---|
CardGameDecoder(CardGameReceiver 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 CARDS_TRANSFERRED_BETWEEN_PLAYERS
CardGameReceiver.cardsTransferredBetweenPlayers(int, int, int)
notifications.
public static final int RECEIVED_CARDS_FROM_PLAYER
CardGameReceiver.receivedCardsFromPlayer(int, com.threerings.parlor.card.data.Card[])
notifications.
public static final int RECEIVED_HAND
CardGameReceiver.receivedHand(int, com.threerings.parlor.card.data.Hand)
notifications.
public static final int SENT_CARDS_TO_PLAYER
CardGameReceiver.sentCardsToPlayer(int, com.threerings.parlor.card.data.Card[])
notifications.
| Constructor Detail |
|---|
public CardGameDecoder(CardGameReceiver 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 | ||||||||