netty5/transport/src/main/java/io/netty/channel/EventLoop.java
Trustin Lee 470e7da5d7 Add MultithreadEventLoop
- Add EventLoopException to wrap the exceptions while an event loop does
something
- Make EventLoop.register() return EventLoop so that the caller knows
the actual EventLoop that will handle the Channel even if the caller
called register() from MultithreadEventLoop
2012-04-29 18:40:55 +09:00

10 lines
263 B
Java

package io.netty.channel;
import java.util.concurrent.ExecutorService;
public interface EventLoop extends ExecutorService {
ChannelFuture register(Channel channel);
EventLoop register(Channel channel, ChannelFuture future);
boolean inEventLoop();
}