@FunctionalInterface
public interface MessageHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(int msgTypeId,
MutableDirectBuffer buffer,
int index,
int length)
Called for the processing of each message read from a buffer in turn.
|
void onMessage(int msgTypeId,
MutableDirectBuffer buffer,
int index,
int length)
msgTypeId - type of the encoded message.buffer - containing the encoded message.index - at which the encoded message begins.length - in bytes of the encoded message.Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.