public interface EventLoop extends EventExecutor, EventLoopGroup
Modifier and Type | Method and Description |
---|---|
ChannelHandlerInvoker |
asInvoker()
Creates a new default
ChannelHandlerInvoker implementation that uses this EventLoop to
invoke event handler methods. |
EventLoopGroup |
parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor , |
EventLoop |
unwrap()
Returns an
EventExecutor that is not a WrappedEventExecutor . |
children, inEventLoop, inEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, next
next, register, register
isShuttingDown, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
close
EventLoopGroup parent()
EventExecutor
EventExecutorGroup
which is the parent of this EventExecutor
,parent
in interface EventExecutor
EventLoop unwrap()
EventExecutor
EventExecutor
that is not a WrappedEventExecutor
.
WrappedEventExecutor
implementing this method must return the underlying
EventExecutor
while making sure that it's not a WrappedEventExecutor
(e.g. by multiple calls to EventExecutor.unwrap()
).
EventExecutor
that is not a WrappedEventExecutor
must return a reference to itself.
unwrap
in interface EventExecutor
ChannelHandlerInvoker asInvoker()
ChannelHandlerInvoker
implementation that uses this EventLoop
to
invoke event handler methods.Copyright © 2008–2015 The Netty Project. All rights reserved.