public class BureauDecoder extends InvocationDecoder
BureauReceiver instance.| Modifier and Type | Field and Description |
|---|---|
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.
|
receiver| Constructor and Description |
|---|
BureauDecoder(BureauReceiver 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)
Dispatches the specified method to our receiver.
|
String |
getReceiverCode()
Returns the generated hash code that is used to identify this invocation notification
service.
|
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.public BureauDecoder(BureauReceiver receiver)
public String getReceiverCode()
InvocationDecodergetReceiverCode in class InvocationDecoderpublic void dispatchNotification(int methodId,
Object[] args)
InvocationDecoderdispatchNotification in class InvocationDecoderCopyright © 2015. All rights reserved.