Package devs.beer.nativepackets.api
Interface EventLoopHandle
public interface EventLoopHandle
Netty-free handle for one connection's serialized event loop.
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes an operation on this event loop.booleanReports whether the caller is currently on this event loop.
-
Method Details
-
inEventLoop
boolean inEventLoop()Reports whether the caller is currently on this event loop.- Returns:
- whether the caller is on the event loop
-
execute
Executes an operation on this event loop.- Parameters:
operation- operation to execute
-