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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
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.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventLoop
Skeletal implementation of
EventLoop . |
class |
DefaultEventLoop |
class |
SingleThreadEventLoop
Abstract base class for
EventLoop s 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 |
AbstractEventLoop.next() |
EventLoop |
ThreadPerChannelEventLoopGroup.next() |
abstract EventLoop |
AbstractEventLoopGroup.next() |
EventLoop |
MultithreadEventLoopGroup.next() |
EventLoop |
EventLoopGroup.next() |
EventLoop |
SingleThreadEventLoop.next() |
EventLoop |
AbstractEventLoop.unwrap() |
EventLoop |
EventLoop.unwrap() |
EventLoop |
SingleThreadEventLoop.unwrap() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
AbstractChannel.isCompatible(EventLoop loop)
Return
true if the given EventLoop is compatible with this instance. |
void |
Channel.Unsafe.register(EventLoop eventLoop,
ChannelPromise promise)
Register the
Channel of the ChannelPromise and notify
the ChannelFuture once the registration was complete. |
void |
AbstractChannel.AbstractUnsafe.register(EventLoop eventLoop,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EmbeddedChannel.isCompatible(EventLoop loop) |
Modifier and Type | Method and Description |
---|---|
protected EventLoop |
EpollEventLoopGroup.newChild(Executor executor,
Object... args) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractEpollServerChannel.isCompatible(EventLoop loop) |
protected boolean |
EpollServerSocketChannel.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
A
SingleThreadEventLoop implementation which registers each Channel with a
NIO Selector and performs the multiplexing 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) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractOioChannel.isCompatible(EventLoop loop) |
Modifier and Type | Method and Description |
---|---|
protected EventLoop |
DnsNameResolver.executor() |
Constructor and Description |
---|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
InetSocketAddress nameServerAddress)
Creates a new DNS-based name resolver that communicates with a single DNS server.
|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
InetSocketAddress localAddress,
InetSocketAddress nameServerAddress)
Creates a new DNS-based name resolver that communicates with a single DNS server.
|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
InetSocketAddress localAddress,
Iterable<InetSocketAddress> nameServerAddresses)
Creates a new DNS-based name resolver that communicates with the specified list of DNS servers.
|
DnsNameResolver(EventLoop eventLoop,
ChannelFactory<? extends DatagramChannel> channelFactory,
Iterable<InetSocketAddress> nameServerAddresses)
Creates a new DNS-based name resolver that communicates with the specified list of DNS servers.
|
DnsNameResolver(EventLoop eventLoop,
Class<? extends DatagramChannel> channelType,
InetSocketAddress nameServerAddress)
Creates a new DNS-based name resolver that communicates with a single DNS server.
|
DnsNameResolver(EventLoop eventLoop,
Class<? extends DatagramChannel> channelType,
InetSocketAddress localAddress,
InetSocketAddress nameServerAddress)
Creates a new DNS-based name resolver that communicates with a single DNS server.
|
DnsNameResolver(EventLoop eventLoop,
Class<? extends DatagramChannel> channelType,
InetSocketAddress localAddress,
Iterable<InetSocketAddress> nameServerAddresses)
Creates a new DNS-based name resolver that communicates with the specified list of DNS servers.
|
DnsNameResolver(EventLoop eventLoop,
Class<? extends DatagramChannel> channelType,
Iterable<InetSocketAddress> nameServerAddresses)
Creates a new DNS-based name resolver that communicates with the specified list of DNS servers.
|
Copyright © 2008–2015 The Netty Project. All rights reserved.