@FunctionalInterface public interface ControlledFragmentHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
ControlledFragmentHandler.Action
Action to be taken on return from
onFragment(DirectBuffer, int, int, Header). |
| Modifier and Type | Method and Description |
|---|---|
ControlledFragmentHandler.Action |
onFragment(DirectBuffer buffer,
int offset,
int length,
Header header)
Callback for handling fragments of data being read from a log.
|
ControlledFragmentHandler.Action onFragment(DirectBuffer buffer, int offset, int length, Header header)
Within this callback reentrant calls to the Aeron client are not permitted and
will result in undefined behaviour.
buffer - containing the data.offset - at which the data begins.length - of the data in bytes.header - representing the meta data for the data.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.