| Package | Description |
|---|---|
| io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
| 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.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
| 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 | Method and Description |
|---|---|
T |
ChannelFactory.newChannel(EventLoop eventLoop)
Creates a new channel.
|
T |
ServerChannelFactory.newChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Creates a new channel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventLoop
Skeletal implementation of
EventLoop. |
class |
DefaultEventLoop |
class |
SingleThreadEventLoop
Abstract base class for
EventLoops that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop which is used to handle OIO Channel's. |
| Modifier and Type | Method and Description |
|---|---|
EventLoop |
Channel.eventLoop()
|
EventLoop |
AbstractChannel.eventLoop() |
protected EventLoop |
DefaultEventLoopGroup.newChild(Executor executor,
Object... args) |
protected abstract EventLoop |
MultithreadEventLoopGroup.newChild(Executor executor,
Object... args) |
protected EventLoop |
ThreadPerChannelEventLoopGroup.newChild(Object... args)
Creates a new
EventLoop. |
EventLoop |
ThreadPerChannelEventLoopGroup.next() |
EventLoop |
MultithreadEventLoopGroup.next() |
EventLoop |
SingleThreadEventLoop.next() |
abstract EventLoop |
AbstractEventLoopGroup.next() |
EventLoop |
EventLoopGroup.next() |
EventLoop |
AbstractEventLoop.next() |
EventLoop |
EventLoop.next() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
AbstractChannel.isCompatible(EventLoop loop)
Return
true if the given EventLoop is compatible with this instance. |
protected boolean |
VoidChannel.isCompatible(EventLoop loop) |
| Constructor and Description |
|---|
AbstractChannel(Channel parent,
EventLoop eventLoop)
Creates a new instance.
|
AbstractServerChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
EmbeddedChannel.isCompatible(EventLoop loop) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
LocalServerChannel.isCompatible(EventLoop loop) |
protected boolean |
LocalChannel.isCompatible(EventLoop loop) |
| Constructor and Description |
|---|
LocalChannel(EventLoop eventLoop) |
LocalServerChannel(EventLoop eventLoop,
EventLoopGroup childGroup) |
| 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 EventLoop |
NioEventLoopGroup.newChild(Executor executor,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractNioChannel.isCompatible(EventLoop loop) |
| Constructor and Description |
|---|
AbstractNioByteChannel(Channel parent,
EventLoop eventLoop,
SelectableChannel ch)
Create a new instance
|
AbstractNioChannel(Channel parent,
EventLoop eventLoop,
SelectableChannel ch,
int readInterestOp)
Create a new instance
|
AbstractNioMessageChannel(Channel parent,
EventLoop eventLoop,
SelectableChannel ch,
int readInterestOp) |
AbstractNioMessageServerChannel(Channel parent,
EventLoop eventLoop,
EventLoopGroup childGroup,
SelectableChannel ch,
int readInterestOp) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractOioChannel.isCompatible(EventLoop loop) |
| Constructor and Description |
|---|
AbstractOioByteChannel(Channel parent,
EventLoop eventLoop) |
AbstractOioChannel(Channel parent,
EventLoop eventLoop) |
AbstractOioMessageChannel(Channel parent,
EventLoop eventLoop) |
AbstractOioMessageServerChannel(Channel parent,
EventLoop eventLoop,
EventLoopGroup childGroup) |
OioByteStreamChannel(Channel parent,
EventLoop eventLoop)
Create a new instance
|
| Constructor and Description |
|---|
NioDatagramChannel(EventLoop eventLoop)
Create a new instance which will use the Operation Systems default
InternetProtocolFamily. |
NioDatagramChannel(EventLoop eventLoop,
DatagramChannel socket)
Create a new instance from the given
DatagramChannel. |
NioDatagramChannel(EventLoop eventLoop,
InternetProtocolFamily ipFamily)
Create a new instance using the given
InternetProtocolFamily. |
NioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Create a new instance
|
NioSocketChannel(Channel parent,
EventLoop eventLoop,
SocketChannel socket)
Create a new instance
|
NioSocketChannel(EventLoop eventLoop)
Create a new instance
|
NioSocketChannel(EventLoop eventLoop,
SocketChannel socket)
Create a new instance using the given
SocketChannel. |
| Constructor and Description |
|---|
OioDatagramChannel(EventLoop eventLoop)
Create a new instance with an new
MulticastSocket. |
OioDatagramChannel(EventLoop eventLoop,
MulticastSocket socket)
Create a new instance from the given
MulticastSocket. |
OioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Create a new instance with an new
Socket |
OioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup,
ServerSocket socket)
Create a new instance from the given
ServerSocket |
OioSocketChannel(Channel parent,
EventLoop eventLoop,
Socket socket)
Create a new instance from the given
Socket |
OioSocketChannel(EventLoop eventLoop)
Create a new instance with an new
Socket |
OioSocketChannel(EventLoop eventLoop,
Socket socket)
Create a new instance from the given
Socket |
Copyright © 2008–2013 The Netty Project. All rights reserved.