| 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.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.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 |
|---|---|
MessageList<T> |
MessageList.add(MessageList<T> src)
Add the messages contained in the given
MessageList to this MessageList and return itself. |
MessageList<T> |
MessageList.add(MessageList<T> src,
int srcIdx,
int srcLen)
Add the messages contained in the given
MessageList, using the given src index and src length, to this
MessageList and return itself. |
MessageList<T> |
MessageList.add(T value)
Add the message to this
MessageList and return itself. |
MessageList<T> |
MessageList.add(T[] src)
Add the messages contained in the array to this
MessageList and return itself. |
MessageList<T> |
MessageList.add(T[] src,
int srcIdx,
int srcLen)
Add the messages contained in the array, using the given src index and src length, to this
MessageList
and return itself. |
<U> MessageList<U> |
MessageList.cast()
Casts the type parameter of this list to a different type parameter.
|
MessageList<T> |
MessageList.clear()
Clear all messages and return itself.
|
MessageList<T> |
MessageList.copy()
Create a new copy all messages of this
MessageList and return it. |
MessageList<T> |
MessageList.copy(int index,
int length)
Create a new copy all messages of this
MessageList, starting at the given index and using the given len,
and return it. |
static <T> MessageList<T> |
MessageList.newInstance()
Create a new empty
MessageList instance |
static <T> MessageList<T> |
MessageList.newInstance(int minCapacity)
Create a new empty
MessageList instance with the given capacity. |
static <T> MessageList<T> |
MessageList.newInstance(T value)
Create a new
MessageList instance which holds the given value |
MessageList<T> |
MessageList.retainAll()
Call
ReferenceCountUtil.retain(Object) on all messages in this MessageList and return itself. |
MessageList<T> |
MessageList.retainAll(int increment)
Call
ReferenceCountUtil#retain(Object), int on all messages in this MessageList and return
itself. |
MessageList<T> |
MessageList.set(int index,
T value)
Sets the message on the given index.
|
| Modifier and Type | Method and Description |
|---|---|
MessageList<T> |
MessageList.add(MessageList<T> src)
Add the messages contained in the given
MessageList to this MessageList and return itself. |
MessageList<T> |
MessageList.add(MessageList<T> src,
int srcIdx,
int srcLen)
Add the messages contained in the given
MessageList, using the given src index and src length, to this
MessageList and return itself. |
protected int |
AbstractServerChannel.doWrite(MessageList<Object> msgs,
int index) |
protected abstract int |
AbstractChannel.doWrite(MessageList<Object> msgs,
int index)
Flush the content of the given
ByteBuf to the remote peer. |
ChannelPipeline |
ChannelPipeline.fireMessageReceived(MessageList<?> msgs) |
ChannelHandlerContext |
ChannelHandlerContext.fireMessageReceived(MessageList<?> msgs) |
void |
SimpleChannelInboundHandler.messageReceived(ChannelHandlerContext ctx,
MessageList<Object> msgs) |
void |
CombinedChannelDuplexHandler.messageReceived(ChannelHandlerContext ctx,
MessageList<Object> msgs) |
void |
ChannelInboundHandler.messageReceived(ChannelHandlerContext ctx,
MessageList<Object> msgs)
The inbound buffer of the
ChannelHandlerContext was updated with new data. |
void |
ChannelInboundHandlerAdapter.messageReceived(ChannelHandlerContext ctx,
MessageList<Object> msgs)
Calls
ChannelHandlerContext.fireMessageReceived(MessageList) to forward
to the next ChannelInboundHandler in the ChannelPipeline. |
void |
ChannelDuplexHandler.write(ChannelHandlerContext ctx,
MessageList<Object> msgs,
ChannelPromise promise) |
void |
CombinedChannelDuplexHandler.write(ChannelHandlerContext ctx,
MessageList<Object> msgs,
ChannelPromise promise) |
void |
ChannelOutboundHandlerAdapter.write(ChannelHandlerContext ctx,
MessageList<Object> msgs,
ChannelPromise promise)
Calls
ChannelOutboundInvoker.write(MessageList, ChannelPromise) to forward
to the next ChannelOutboundHandler in the ChannelPipeline. |
void |
ChannelOutboundHandler.write(ChannelHandlerContext ctx,
MessageList<Object> msgs,
ChannelPromise promise)
Called once a flush operation is made and so the outbound data should be written.
|
ChannelFuture |
AbstractChannel.write(MessageList<?> msgs) |
void |
Channel.Unsafe.write(MessageList<?> msgs,
ChannelPromise promise)
Schedules a write operation.
|
ChannelFuture |
AbstractChannel.write(MessageList<?> msgs,
ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.write(MessageList<?> msgs,
ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
EmbeddedChannel.doWrite(MessageList<Object> msgs,
int index) |
| Modifier and Type | Method and Description |
|---|---|
ChannelGroupFuture |
ChannelGroup.write(MessageList<Object> messages)
Writes the specified
messages to all Channels in this
group. |
ChannelGroupFuture |
DefaultChannelGroup.write(MessageList<Object> messages) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
LocalChannel.doWrite(MessageList<Object> msgs,
int index) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
AbstractNioMessageChannel.doReadMessages(MessageList<Object> buf)
Read messages into the given array and return the amount which was read.
|
protected int |
AbstractNioByteChannel.doWrite(MessageList<Object> msgs,
int index) |
protected int |
AbstractNioMessageChannel.doWrite(MessageList<Object> msgs,
int index) |
protected abstract int |
AbstractNioMessageChannel.doWriteMessages(MessageList<Object> msg,
int index,
boolean lastSpin)
Write messages to the underlying
Channel. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
AbstractOioMessageChannel.doReadMessages(MessageList<Object> msgs)
Read messages into the given array and return the amount which was read.
|
protected int |
AbstractOioByteChannel.doWrite(MessageList<Object> msgs,
int index) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
NioDatagramChannel.doReadMessages(MessageList<Object> buf) |
protected int |
NioServerSocketChannel.doReadMessages(MessageList<Object> buf) |
protected int |
NioSocketChannel.doWrite(MessageList<Object> msgs,
int index) |
protected int |
NioDatagramChannel.doWriteMessages(MessageList<Object> msgs,
int index,
boolean lastSpin) |
protected int |
NioServerSocketChannel.doWriteMessages(MessageList<Object> msgs,
int index,
boolean lastSpin) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
OioServerSocketChannel.doReadMessages(MessageList<Object> buf) |
protected int |
OioDatagramChannel.doReadMessages(MessageList<Object> buf) |
protected int |
OioServerSocketChannel.doWrite(MessageList<Object> msgs,
int index) |
protected int |
OioDatagramChannel.doWrite(MessageList<Object> msgs,
int index) |
Copyright © 2008-2013 The Netty Project. All Rights Reserved.