@FunctionalInterface public interface TcpHandler extends ClientClosedProvider
| Modifier and Type | Method and Description |
|---|---|
default void |
onEndOfConnection(boolean heartbeatTimeOut) |
void |
process(net.openhft.chronicle.bytes.Bytes in,
net.openhft.chronicle.bytes.Bytes out,
SessionDetailsProvider sessionDetails)
The server reads the bytes
in from the client and sends a response out back
to the client. |
default void |
sendHeartBeat(net.openhft.chronicle.bytes.Bytes out,
SessionDetailsProvider sessionDetails) |
hasClientClosedvoid process(@NotNull
net.openhft.chronicle.bytes.Bytes in,
@NotNull
net.openhft.chronicle.bytes.Bytes out,
@NotNull
SessionDetailsProvider sessionDetails)
in from the client and sends a response out back
to the client.in - the bytes send from the clientout - the response send back to the clientsessionDetails - an instance per sessiondefault void sendHeartBeat(net.openhft.chronicle.bytes.Bytes out,
SessionDetailsProvider sessionDetails)
default void onEndOfConnection(boolean heartbeatTimeOut)
Copyright © 2015. All rights reserved.