| 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.group |
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them. |
| io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
| io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
| io.netty.channel.socket.aio |
NIO2-based socket channel
API implementation - recommended for a large 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 |
|---|---|
Channel |
AbstractBootstrap.ChannelFactory.newChannel()
Channel to use in the AbstractBootstrap |
| Modifier and Type | Method and Description |
|---|---|
ServerBootstrap |
ServerBootstrap.channel(Class<? extends Channel> channelClass)
The
Class which is used to create the ServerChannel from (for the acceptor). |
B |
AbstractBootstrap.channel(Class<? extends Channel> channelClass)
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelInitializer<C extends Channel> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ServerChannel
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChannel
A skeletal
Channel implementation. |
class |
AbstractServerChannel
A skeletal server-side
Channel implementation. |
| Modifier and Type | Method and Description |
|---|---|
Channel |
VoidChannelFuture.channel() |
Channel |
DefaultChannelPipeline.channel() |
Channel |
DefaultChannelFuture.channel() |
Channel |
CompleteChannelFuture.channel() |
Channel |
ChannelPipeline.channel()
Returns the
Channel that this pipeline is attached to. |
Channel |
ChannelHandlerContext.channel()
Return the
Channel which is bound to the ChannelHandlerContext. |
Channel |
ChannelFuture.channel()
Returns a channel where the I/O operation associated with this
future takes place.
|
Channel |
Channel.parent()
Returns the parent of this channel.
|
Channel |
AbstractChannel.parent() |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractChannel.compareTo(Channel o)
Compares the ID of the two channels.
|
ChannelFuture |
SingleThreadEventLoop.register(Channel channel) |
ChannelFuture |
MultithreadEventLoopGroup.register(Channel channel) |
ChannelFuture |
EventLoopGroup.register(Channel channel)
|
ChannelFuture |
SingleThreadEventLoop.register(Channel channel,
ChannelFuture future) |
ChannelFuture |
MultithreadEventLoopGroup.register(Channel channel,
ChannelFuture future) |
ChannelFuture |
EventLoopGroup.register(Channel channel,
ChannelFuture future)
|
| Constructor and Description |
|---|
AbstractChannel(Channel parent,
Integer id)
Creates a new instance.
|
CompleteChannelFuture(Channel channel)
Creates a new instance.
|
DefaultChannelFuture(Channel channel,
boolean cancellable)
Creates a new instance.
|
DefaultChannelPipeline(Channel channel) |
FailedChannelFuture(Channel channel,
Throwable cause)
Creates a new instance.
|
SucceededChannelFuture(Channel channel)
Creates a new instance.
|
VoidChannelFuture(Channel channel)
Creates a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEmbeddedChannel |
class |
EmbeddedByteChannel |
class |
EmbeddedMessageChannel |
| Modifier and Type | Method and Description |
|---|---|
Channel |
DefaultChannelGroup.find(Integer id) |
Channel |
ChannelGroup.find(Integer id)
Returns the
Channel whose ID matches the specified integer. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Channel> |
DefaultChannelGroup.iterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultChannelGroup.add(Channel channel) |
ChannelFuture |
DefaultChannelGroupFuture.find(Channel channel) |
ChannelFuture |
ChannelGroupFuture.find(Channel channel)
Returns the
ChannelFuture of the individual I/O operation which
is associated with the specified Channel. |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalChannel
A
Channel for the local transport. |
class |
LocalServerChannel
A
ServerChannel for the local transport. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DatagramChannel
A UDP/IP
Channel which is created by DatagramChannelFactory. |
interface |
SctpChannel
A SCTP/IP
Channel |
interface |
SctpServerChannel
A SCTP/IP
ServerChannel which accepts incoming SCTP/IP connections. |
interface |
ServerSocketChannel
A TCP/IP
ServerChannel which accepts incoming TCP/IP connections. |
interface |
SocketChannel
A TCP/IP socket
Channel which was either accepted by
ServerSocketChannel or created by ClientSocketChannelFactory. |
| Modifier and Type | Class and Description |
|---|---|
class |
AioServerSocketChannel |
class |
AioSocketChannel |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNioChannel |
class |
NioDatagramChannel
Provides an NIO based
DatagramChannel. |
class |
NioSctpChannel |
class |
NioSctpServerChannel |
class |
NioServerSocketChannel |
class |
NioSocketChannel |
| Constructor and Description |
|---|
AbstractNioChannel(Channel parent,
Integer id,
SelectableChannel ch,
int readInterestOp) |
NioSctpChannel(Channel parent,
Integer id,
SctpChannel sctpChannel) |
NioSocketChannel(Channel parent,
Integer id,
SocketChannel socket) |
| Modifier and Type | Class and Description |
|---|---|
class |
OioDatagramChannel |
class |
OioSctpChannel |
class |
OioSctpServerChannel |
class |
OioServerSocketChannel |
class |
OioSocketChannel |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
OioEventLoopGroup.register(Channel channel) |
ChannelFuture |
OioEventLoopGroup.register(Channel channel,
ChannelFuture future) |
| Constructor and Description |
|---|
OioSctpChannel(Channel parent,
Integer id,
SctpChannel ch) |
OioSocketChannel(Channel parent,
Integer id,
Socket socket) |
Copyright © 2008-2012 The Netty Project. All Rights Reserved.