@FunctionalInterface public interface FragmentHandler
Modifier and Type | Method and Description |
---|---|
void |
onFragment(DirectBuffer buffer,
int offset,
int length,
Header header)
Callback for handling fragments of data being read from a log.
|
void 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-2021 Real Logic Limited. All Rights Reserved.