public interface EventLoopGroup extends EventExecutorGroup
EventExecutorGroup
which allows registering Channel
s that get
processed for later selection during the event loop.Modifier and Type | Method and Description |
---|---|
EventLoop |
next()
Return the next
EventLoop to use |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelPromise promise)
|
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
EventLoop next()
EventLoop
to usenext
in interface EventExecutorGroup
ChannelFuture register(Channel channel)
Channel
with this EventLoop
. The returned ChannelFuture
will get notified once the registration was complete.ChannelFuture register(Channel channel, ChannelPromise promise)
Channel
with this EventLoop
. The passed ChannelFuture
will get notified once the registration was complete and also will get returned.Copyright © 2008–2018 The Netty Project. All rights reserved.