public final class ReadWithFlowControl extends Object implements TcpEventHandler.SocketReader
| Constructor and Description |
|---|
ReadWithFlowControl() |
| Modifier and Type | Method and Description |
|---|---|
int |
read(@NotNull ChronicleSocketChannel socketChannel,
@NotNull net.openhft.chronicle.bytes.Bytes<ByteBuffer> bytes)
reads just a single message from the socket
|
public int read(@NotNull
@NotNull ChronicleSocketChannel socketChannel,
@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<ByteBuffer> bytes)
throws IOException
read in interface TcpEventHandler.SocketReadersocketChannel - 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.