- 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
10 lines
263 B
Java
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();
|
|
}
|