public class WireTypeSniffingTcpHandler<T extends NetworkContext> extends Object implements TcpHandler<T>
| Constructor and Description |
|---|
WireTypeSniffingTcpHandler(TcpEventHandler handlerManager,
java.util.function.Function<T,TcpHandler> delegateHandlerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(net.openhft.chronicle.bytes.Bytes in,
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, onEndOfConnection, onReadComplete, onReadTime, onWriteTime, sendHeartBeathasClientClosedpublic WireTypeSniffingTcpHandler(@NotNull
TcpEventHandler handlerManager,
@NotNull
java.util.function.Function<T,TcpHandler> delegateHandlerFactory)
public void process(@NotNull
net.openhft.chronicle.bytes.Bytes in,
@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>in - the bytes send from the clientout - the response send back to the clientCopyright © 2017. All rights reserved.