public interface MessageCallback
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_FLAGS
No flags.
|
static int |
RESPONSE_EXPECTED
Response is expected (message is RPC request).
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(Message message,
int flags)
Handle message.
|
static final int NO_FLAGS
static final int RESPONSE_EXPECTED
void handleMessage(Message message, int flags)
message - Message sent from other agent.flags - Bitwise OR of NO_FLAGS, RESPONSE_EXPECTED.