List of usage examples for io.netty.channel EventLoop interface-usage
From source file com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.java
/** * An event loop proxy. * @author Kristian. */ abstract class NettyEventLoopProxy implements EventLoop { private static final Runnable EMPTY_RUNNABLE = new Runnable() {
From source file com.comphenix.protocol.injector.netty.EventLoopProxy.java
/** * An event loop proxy. * @author Kristian. */ abstract class EventLoopProxy implements EventLoop { private static final Runnable EMPTY_RUNNABLE = new Runnable() {
From source file com.linecorp.armeria.common.RequestContextAwareEventLoop.java
/** * A delegating {@link EventExecutor} that makes sure all submitted tasks are * executed within the {@link RequestContext}. */ final class RequestContextAwareEventLoop implements EventLoop {
From source file cz.znj.kvr.sw.exp.java.netty.netty.MyEmbeddedEventLoop.java
public final class MyEmbeddedEventLoop extends AbstractScheduledEventExecutor implements ChannelHandlerInvoker, EventLoop { public static MyEmbeddedEventLoop getInstance() { return instance; }
From source file org.apache.activemq.artemis.protocol.amqp.proton.handler.ExecutorNettyAdapter.java
/** Test cases may supply a simple executor instead of the real Netty Executor
* On that case this is a simple adapter for what's needed from these tests.
* Not intended to be used in production.
*
* TODO: This could be refactored out of the main codebase but at a high cost.
* We may do it some day if we find an easy way that won't clutter the code too much.
From source file org.fusesource.hawtdispatch.netty.HawtEventLoop.java
/**
* {@link EventLoop} implementations which will
* handle HawtDispatch based {@link Channel}s.
*
* @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a>
*/