@FunctionalInterface public interface ControlledMessageHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
ControlledMessageHandler.Action
Action to be taken on return from
onMessage(int, MutableDirectBuffer, int, int). |
| Modifier and Type | Method and Description |
|---|---|
ControlledMessageHandler.Action |
onMessage(int msgTypeId,
MutableDirectBuffer buffer,
int index,
int length)
Called for the processing of each message read from a buffer in turn.
|
ControlledMessageHandler.Action 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.ControlledMessageHandler.Action to be taken to control how the read progresses.Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.