public class WireTypeSniffingTcpHandler<T extends NetworkContext<T>> extends net.openhft.chronicle.core.io.SimpleCloseable implements TcpHandler<T>
| Constructor and Description |
|---|
WireTypeSniffingTcpHandler(@NotNull TcpEventHandler handlerManager,
@NotNull Function<T,TcpHandler<T>> delegateHandlerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(@NotNull net.openhft.chronicle.bytes.Bytes<?> in,
@NotNull net.openhft.chronicle.bytes.Bytes<?> out,
T nc)
The server reads the bytes
in from the client and sends a response out back
to the client. |
String |
toString() |
close, isClosed, performCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasTimedOut, onEndOfConnection, onReadTime, onWriteTime, performIdleWork, sendHeartBeathasClientClosedclose, closeQuietly, closeQuietlypublic WireTypeSniffingTcpHandler(@NotNull
@NotNull TcpEventHandler handlerManager,
@NotNull
@NotNull Function<T,TcpHandler<T>> delegateHandlerFactory)
public void process(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> in,
@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> out,
T nc)
TcpHandlerin from the client and sends a response out back
to the client.process in interface TcpHandler<T extends NetworkContext<T>>in - the bytes send from the clientout - the response send back to the clientCopyright © 2023. All rights reserved.