@FunctionalInterface public static interface TcpEventHandler.SocketReader
| Modifier and Type | Method and Description |
|---|---|
int |
read(@NotNull ChronicleSocketChannel socketChannel,
@NotNull net.openhft.chronicle.bytes.Bytes<ByteBuffer> bytes)
Reads content from the provided
socketChannel into the provided bytes. |
int read(@NotNull
@NotNull ChronicleSocketChannel socketChannel,
@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<ByteBuffer> bytes)
throws IOException
socketChannel into the provided bytes.socketChannel - to read frombytes - to which content from the socketChannel is putsocketChannel.IOException - if there is a problem reading form the provided socketChannel.Copyright © 2023. All rights reserved.