| 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.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).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventLoop |
| Modifier and Type | Class and Description |
|---|---|
class |
SingleThreadEventExecutor
Abstract base class for
EventExecutor's that execute all its submitted tasks in a single thread. |
class |
SingleThreadEventLoop |
| Modifier and Type | Method and Description |
|---|---|
EventExecutor |
ChannelHandlerContext.executor()
The
EventExecutor that is used to dispatch the events. |
protected abstract EventExecutor |
MultithreadEventExecutorGroup.newChild(ThreadFactory threadFactory,
ChannelTaskScheduler scheduler,
Object... args) |
protected EventExecutor |
DefaultEventExecutorGroup.newChild(ThreadFactory threadFactory,
ChannelTaskScheduler scheduler,
Object... args) |
EventExecutor |
SingleThreadEventExecutor.next() |
EventExecutor |
MultithreadEventExecutorGroup.next() |
EventExecutor |
EventExecutorGroup.next()
Returns one of the
EventExecutors that belong to this group. |
EventExecutor |
EventExecutor.next()
Returns a reference to itself.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ScheduledFuture<V> |
ChannelTaskScheduler.schedule(EventExecutor executor,
Callable<V> callable,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
ChannelTaskScheduler.schedule(EventExecutor executor,
Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
ChannelTaskScheduler.scheduleAtFixedRate(EventExecutor executor,
Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
ChannelTaskScheduler.scheduleWithFixedDelay(EventExecutor executor,
Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
LocalEventLoopGroup.newChild(ThreadFactory threadFactory,
ChannelTaskScheduler scheduler,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
AioEventLoopGroup.newChild(ThreadFactory threadFactory,
ChannelTaskScheduler scheduler,
Object... args) |
| 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 EventExecutor |
NioEventLoopGroup.newChild(ThreadFactory threadFactory,
ChannelTaskScheduler scheduler,
Object... args) |
Copyright © 2008-2012 The Netty Project. All Rights Reserved.