public class AcceptorEventHandler extends Object implements net.openhft.chronicle.threads.api.EventHandler, Closeable
| Constructor and Description |
|---|
AcceptorEventHandler(String description,
java.util.function.Supplier<TcpHandler> tcpHandlerSupplier,
java.util.function.Supplier<SessionDetailsProvider> sessionDetailsSupplier,
long heartbeatIntervalTicks,
long heartbeatTimeOutTicks) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action() |
void |
close() |
void |
eventLoop(net.openhft.chronicle.threads.api.EventLoop eventLoop) |
net.openhft.chronicle.threads.HandlerPriority |
priority() |
void |
unchecked(boolean unchecked) |
public AcceptorEventHandler(@NotNull
String description,
@NotNull
java.util.function.Supplier<TcpHandler> tcpHandlerSupplier,
@NotNull
java.util.function.Supplier<SessionDetailsProvider> sessionDetailsSupplier,
long heartbeatIntervalTicks,
long heartbeatTimeOutTicks)
throws IOException
IOExceptionpublic void unchecked(boolean unchecked)
public void eventLoop(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.InvalidEventHandlerException@NotNull public net.openhft.chronicle.threads.HandlerPriority priority()
priority in interface net.openhft.chronicle.threads.api.EventHandlerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016. All rights reserved.