|
|||||||||
| 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.bureau.client.BureauDecoder
public class BureauDecoder
Dispatches calls to a BureauReceiver instance.
| Field Summary | |
|---|---|
static int |
CREATE_AGENT
The method id used to dispatch BureauReceiver.createAgent(int)
notifications. |
static int |
DESTROY_AGENT
The method id used to dispatch BureauReceiver.destroyAgent(int)
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 | |
|---|---|
BureauDecoder(BureauReceiver 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)
Dispatches the specified method to our receiver. |
String |
getReceiverCode()
Returns the generated hash code that is used to identify this invocation notification service. |
| 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 CREATE_AGENT
BureauReceiver.createAgent(int)
notifications.
public static final int DESTROY_AGENT
BureauReceiver.destroyAgent(int)
notifications.
| Constructor Detail |
|---|
public BureauDecoder(BureauReceiver receiver)
| Method Detail |
|---|
public String getReceiverCode()
InvocationDecoder
getReceiverCode in class InvocationDecoder
public void dispatchNotification(int methodId,
Object[] args)
InvocationDecoder
dispatchNotification in class InvocationDecoder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||