public class TcpEventHandler extends Object implements net.openhft.chronicle.threads.api.EventHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
CAPACITY |
| Constructor and Description |
|---|
TcpEventHandler(SocketChannel sc,
TcpHandler handler,
SessionDetailsProvider sessionDetails,
boolean unchecked) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action() |
void |
eventLoop(net.openhft.chronicle.threads.api.EventLoop eventLoop) |
net.openhft.chronicle.threads.HandlerPriority |
priority() |
public static final int CAPACITY
public TcpEventHandler(@NotNull
SocketChannel sc,
TcpHandler handler,
SessionDetailsProvider sessionDetails,
boolean unchecked)
throws IOException
IOException@NotNull public net.openhft.chronicle.threads.HandlerPriority priority()
priority in interface net.openhft.chronicle.threads.api.EventHandlerpublic void eventLoop(@NotNull
net.openhft.chronicle.threads.api.EventLoop eventLoop)
eventLoop in interface net.openhft.chronicle.threads.api.EventHandlerpublic boolean action()
throws net.openhft.chronicle.threads.api.InvalidEventHandlerException
action in interface net.openhft.chronicle.threads.api.EventHandlernet.openhft.chronicle.threads.api.InvalidEventHandlerExceptionCopyright © 2015. All rights reserved.