| Package | Description |
|---|---|
| io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
| io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
| io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| Modifier and Type | Method and Description |
|---|---|
IoRegistration |
IoHandler.register(IoEventLoop eventLoop,
IoHandle handle)
Register a
IoHandle for IO. |
io.netty.util.concurrent.Future<IoRegistration> |
IoEventLoop.register(IoHandle handle)
|
io.netty.util.concurrent.Future<IoRegistration> |
SingleThreadIoEventLoop.register(IoHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IoHandler.isCompatible(Class<? extends IoHandle> handleType)
Returns
true if the given type is compatible with this IoHandler and so can be registered,
false otherwise. |
boolean |
IoEventLoop.isCompatible(Class<? extends IoHandle> handleType) |
boolean |
SingleThreadIoEventLoop.isCompatible(Class<? extends IoHandle> handleType) |
default boolean |
IoEventLoopGroup.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. |
| Modifier and Type | Method and Description |
|---|---|
IoRegistration |
LocalIoHandler.register(IoEventLoop eventLoop,
IoHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LocalIoHandler.isCompatible(Class<? extends IoHandle> handleType) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NioIoHandle
IoHandle subtype for NIO based implementations that will work with NioIoHandler. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractNioByteChannel.NioByteUnsafe |
protected class |
AbstractNioChannel.AbstractNioUnsafe |
class |
NioSelectableChannelIoHandle<S extends SelectableChannel>
Allows to create an
IoHandle for a SelectableChannel, not necessarily created by Netty. |
| Modifier and Type | Method and Description |
|---|---|
NioIoRegistration |
NioIoHandler.register(IoEventLoop eventLoop,
IoHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NioIoHandler.isCompatible(Class<? extends IoHandle> handleType) |
Copyright © 2008–2025 The Netty Project. All rights reserved.