| 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.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
| io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
| io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
| Modifier and Type | Class and Description |
|---|---|
class |
SingleThreadEventLoop |
| Modifier and Type | Method and Description |
|---|---|
EventLoop |
Channel.eventLoop()
|
EventLoop |
AbstractChannel.eventLoop() |
EventLoop |
SingleThreadEventLoop.next() |
EventLoop |
MultithreadEventLoopGroup.next() |
EventLoop |
EventLoopGroup.next()
Return the next
EventLoop to use |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
AbstractChannel.isCompatible(EventLoop loop) |
void |
Channel.Unsafe.register(EventLoop eventLoop,
ChannelFuture future)
Register the
Channel of the ChannelFuture with the EventLoop and notify
the ChannelFuture once the registration was complete. |
void |
AbstractChannel.AbstractUnsafe.register(EventLoop eventLoop,
ChannelFuture future) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractEmbeddedChannel.isCompatible(EventLoop loop) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
LocalServerChannel.isCompatible(EventLoop loop) |
protected boolean |
LocalChannel.isCompatible(EventLoop loop) |
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel's to a
Selector and so does the multi-plexing of these in the event loop. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractNioChannel.isCompatible(EventLoop loop) |
| Modifier and Type | Method and Description |
|---|---|
EventLoop |
OioEventLoopGroup.next() |
Copyright © 2008-2012 The Netty Project. All Rights Reserved.