public interface EventLoopGroup extends EventExecutorGroup
EventExecutorGroup
which allows registering Channel
s that get
processed for later selection during the event loop.限定符和类型 | 方法和说明 |
---|---|
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
在接口中 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.