public abstract class MultithreadEventLoopGroup extends MultithreadEventExecutorGroup implements EventLoopGroup
| Modifier | Constructor and Description |
|---|---|
protected |
MultithreadEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
EventLoop |
next()
Returns one of the
EventExecutors that belong to this group. |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelFuture future)
|
awaitTermination, isShutdown, isTerminated, newChild, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawaitTermination, isShutdown, isTerminated, shutdownprotected MultithreadEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
Object... args)
public EventLoop next()
EventExecutorGroupEventExecutors that belong to this group.next in interface EventExecutorGroupnext in interface EventLoopGroupnext in class MultithreadEventExecutorGrouppublic ChannelFuture register(Channel channel)
EventLoopGroupChannel with this EventLoop. The returned ChannelFuture
will get notified once the registration was complete.register in interface EventLoopGrouppublic ChannelFuture register(Channel channel, ChannelFuture future)
EventLoopGroupChannel with this EventLoop. The passed ChannelFuture
will get notified once the registration was complete and also will get returned.register in interface EventLoopGroupCopyright © 2008-2012 The Netty Project. All Rights Reserved.