public abstract class AbstractEventLoop extends AbstractEventExecutor implements EventLoop
EventLoop
.Modifier | Constructor and Description |
---|---|
protected |
AbstractEventLoop() |
protected |
AbstractEventLoop(EventLoopGroup parent) |
Modifier and Type | Method and Description |
---|---|
EventLoop |
next()
Returns a reference to itself.
|
EventLoopGroup |
parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor , |
EventLoop |
unwrap()
Returns an
EventExecutor that is not a WrappedEventExecutor . |
children, close, inEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, newTaskFor, newTaskFor, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownNow, submit, submit, submit
invokeAll, invokeAll, invokeAny, invokeAny
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
children, inEventLoop, inEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture
register, register
isShuttingDown, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
close
protected AbstractEventLoop()
protected AbstractEventLoop(EventLoopGroup parent)
public EventLoopGroup parent()
EventExecutor
EventExecutorGroup
which is the parent of this EventExecutor
,parent
in interface EventLoop
parent
in interface EventExecutor
parent
in class AbstractEventExecutor
public EventLoop next()
EventExecutor
next
in interface EventLoopGroup
next
in interface EventExecutor
next
in interface EventExecutorGroup
next
in class AbstractEventExecutor
public 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 EventLoop
unwrap
in interface EventExecutor
unwrap
in class AbstractEventExecutor
Copyright © 2008–2015 The Netty Project. All rights reserved.