public interface IoEventLoop extends EventLoop, IoEventLoopGroup
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompatible(Class<? extends IoHandle> handleType)
Returns
true if the given type is compatible with this IoEventLoopGroup and so can be registered
to the contained IoEventLoops, false otherwise. |
boolean |
isIoType(Class<? extends IoHandler> handlerType)
|
default EventLoopGroup |
parent() |
ChannelFuture |
register(Channel channel)
Deprecated.
|
ChannelFuture |
register(ChannelPromise promise)
Deprecated.
|
io.netty.util.concurrent.Future<IoRegistration> |
register(IoHandle handle)
|
inEventLoop, inEventLoop, isSuspended, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, trySuspendisShuttingDown, iterator, next, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedforEach, spliteratornextregisterdefault EventLoopGroup parent()
@Deprecated ChannelFuture register(Channel channel)
register(IoHandle)EventLoopGroupChannel with this EventLoop. The returned ChannelFuture
will get notified once the registration was complete.register in interface EventLoopGroup@Deprecated ChannelFuture register(ChannelPromise promise)
register(IoHandle)EventLoopGroupChannel with this EventLoop using a ChannelFuture. The passed
ChannelFuture will get notified once the registration was complete and also will get returned.register in interface EventLoopGroupio.netty.util.concurrent.Future<IoRegistration> register(IoHandle handle)
handle - the IoHandle to register.Future that is notified once the operations completes.boolean isCompatible(Class<? extends IoHandle> handleType)
IoEventLoopGrouptrue if the given type is compatible with this IoEventLoopGroup and so can be registered
to the contained IoEventLoops, false otherwise.isCompatible in interface IoEventLoopGrouphandleType - the type of the IoHandle.boolean isIoType(Class<? extends IoHandler> handlerType)
IoEventLoopGroupisIoType in interface IoEventLoopGrouphandlerType - the type of the IoHandler.Copyright © 2008–2025 The Netty Project. All rights reserved.