public class TcpEventHandler extends Object implements net.openhft.chronicle.core.threads.EventHandler, net.openhft.chronicle.core.io.Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpEventHandler.Factory |
| Constructor and Description |
|---|
TcpEventHandler(NetworkContext nc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action() |
void |
close() |
net.openhft.chronicle.core.threads.HandlerPriority |
priority() |
void |
tcpHandler(TcpHandler tcpHandler) |
public TcpEventHandler(@NotNull
NetworkContext nc)
@NotNull public net.openhft.chronicle.core.threads.HandlerPriority priority()
priority in interface net.openhft.chronicle.core.threads.EventHandlerpublic void tcpHandler(TcpHandler tcpHandler)
public boolean action()
throws net.openhft.chronicle.core.threads.InvalidEventHandlerException
action in interface net.openhft.chronicle.core.threads.EventHandlernet.openhft.chronicle.core.threads.InvalidEventHandlerExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2016. All rights reserved.