@FunctionalInterface public interface RawBlockHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onBlock(FileChannel fileChannel,
long fileOffset,
UnsafeBuffer termBuffer,
int termOffset,
int length,
int sessionId,
int termId)
Notification of an available block of fragments.
|
void onBlock(FileChannel fileChannel, long fileOffset, UnsafeBuffer termBuffer, int termOffset, int length, int sessionId, int termId)
fileChannel - containing the block of fragments.fileOffset - at which the block begins, including any frame headers.termBuffer - mapped over the block of fragments.termOffset - in the termBuffer at which block begins, including any frame headers.length - of the block in bytes, including any frame headers that is aligned up to
FrameDescriptor.FRAME_ALIGNMENT.sessionId - of the stream of fragments.termId - of the stream of fragments.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.