public class HeaderTcpHandler<T extends NetworkContext> extends Object implements TcpHandler
| Constructor and Description |
|---|
HeaderTcpHandler(TcpEventHandler handlerManager,
java.util.function.Function<Object,TcpHandler> handlerFunction,
T nc) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(net.openhft.chronicle.bytes.Bytes in,
net.openhft.chronicle.bytes.Bytes out,
NetworkContext 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 static final String HANDLER
public HeaderTcpHandler(@NotNull
TcpEventHandler handlerManager,
@NotNull
java.util.function.Function<Object,TcpHandler> handlerFunction,
@NotNull
T nc)
public void process(@NotNull
net.openhft.chronicle.bytes.Bytes in,
@NotNull
net.openhft.chronicle.bytes.Bytes out,
NetworkContext nc)
TcpHandlerin from the client and sends a response out back
to the client.process in interface TcpHandlerin - the bytes send from the clientout - the response send back to the clientCopyright © 2017. All rights reserved.