| Modifier and Type | Method and Description |
|---|---|
Object |
Codec2.decode(Channel channel,
ChannelBuffer buffer) |
void |
Codec2.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChannelBuffer |
class |
ByteBufferBackedChannelBuffer |
class |
DynamicChannelBuffer |
class |
HeapChannelBuffer |
| Modifier and Type | Field and Description |
|---|---|
static ChannelBuffer |
ChannelBuffers.EMPTY_BUFFER |
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
ChannelBufferOutputStream.buffer() |
static ChannelBuffer |
ChannelBuffers.buffer(int capacity) |
ChannelBuffer |
ChannelBuffer.copy()
Returns a copy of this buffer's readable bytes.
|
ChannelBuffer |
AbstractChannelBuffer.copy() |
ChannelBuffer |
HeapChannelBuffer.copy(int index,
int length) |
ChannelBuffer |
DynamicChannelBuffer.copy(int index,
int length) |
ChannelBuffer |
ChannelBuffer.copy(int index,
int length)
Returns a copy of this buffer's sub-region.
|
ChannelBuffer |
ByteBufferBackedChannelBuffer.copy(int index,
int length) |
static ChannelBuffer |
ChannelBuffers.directBuffer(int capacity) |
static ChannelBuffer |
ChannelBuffers.dynamicBuffer() |
static ChannelBuffer |
ChannelBuffers.dynamicBuffer(int capacity) |
static ChannelBuffer |
ChannelBuffers.dynamicBuffer(int capacity,
ChannelBufferFactory factory) |
ChannelBuffer |
HeapChannelBufferFactory.getBuffer(byte[] array,
int offset,
int length) |
ChannelBuffer |
DirectChannelBufferFactory.getBuffer(byte[] array,
int offset,
int length) |
ChannelBuffer |
ChannelBufferFactory.getBuffer(byte[] array,
int offset,
int length) |
ChannelBuffer |
HeapChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) |
ChannelBuffer |
DirectChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) |
ChannelBuffer |
ChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) |
ChannelBuffer |
HeapChannelBufferFactory.getBuffer(int capacity) |
ChannelBuffer |
DirectChannelBufferFactory.getBuffer(int capacity) |
ChannelBuffer |
ChannelBufferFactory.getBuffer(int capacity) |
ChannelBuffer |
ChannelBuffer.readBytes(int length)
Transfers this buffer's data to a newly created buffer starting at the
current
readerIndex and increases the readerIndex by the
number of the transferred bytes (= length). |
ChannelBuffer |
AbstractChannelBuffer.readBytes(int length) |
static ChannelBuffer |
ChannelBuffers.wrappedBuffer(byte[] array) |
static ChannelBuffer |
ChannelBuffers.wrappedBuffer(byte[] array,
int offset,
int length) |
static ChannelBuffer |
ChannelBuffers.wrappedBuffer(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ChannelBuffers.compare(ChannelBuffer bufferA,
ChannelBuffer bufferB) |
int |
AbstractChannelBuffer.compareTo(ChannelBuffer that) |
static boolean |
ChannelBuffers.equals(ChannelBuffer bufferA,
ChannelBuffer bufferB) |
void |
ChannelBuffer.getBytes(int index,
ChannelBuffer dst)
Transfers this buffer's data to the specified destination starting at the
specified absolute
index until the destination becomes
non-writable. |
void |
AbstractChannelBuffer.getBytes(int index,
ChannelBuffer dst) |
void |
ChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int length)
Transfers this buffer's data to the specified destination starting at the
specified absolute
index. |
void |
AbstractChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int length) |
void |
HeapChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length) |
void |
DynamicChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length) |
void |
ChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at the
specified absolute
index. |
void |
ByteBufferBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length) |
void |
ChannelBuffer.readBytes(ChannelBuffer dst)
Transfers this buffer's data to the specified destination starting at the
current
readerIndex until the destination becomes non-writable,
and increases the readerIndex by the number of the transferred
bytes. |
void |
AbstractChannelBuffer.readBytes(ChannelBuffer dst) |
void |
ChannelBuffer.readBytes(ChannelBuffer dst,
int length)
Transfers this buffer's data to the specified destination starting at the
current
readerIndex and increases the readerIndex by the
number of the transferred bytes (= length). |
void |
AbstractChannelBuffer.readBytes(ChannelBuffer dst,
int length) |
void |
ChannelBuffer.readBytes(ChannelBuffer dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at the
current
readerIndex and increases the readerIndex by the
number of the transferred bytes (= length). |
void |
AbstractChannelBuffer.readBytes(ChannelBuffer dst,
int dstIndex,
int length) |
void |
ChannelBuffer.setBytes(int index,
ChannelBuffer src)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index until the source buffer becomes
unreadable. |
void |
AbstractChannelBuffer.setBytes(int index,
ChannelBuffer src) |
void |
ChannelBuffer.setBytes(int index,
ChannelBuffer src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index. |
void |
AbstractChannelBuffer.setBytes(int index,
ChannelBuffer src,
int length) |
void |
HeapChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length) |
void |
DynamicChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length) |
void |
ChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index. |
void |
ByteBufferBackedChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length) |
void |
ChannelBuffer.writeBytes(ChannelBuffer src)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex until the source buffer becomes
unreadable, and increases the writerIndex by the number of the
transferred bytes. |
void |
AbstractChannelBuffer.writeBytes(ChannelBuffer src) |
void |
ChannelBuffer.writeBytes(ChannelBuffer src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex by
the number of the transferred bytes (= length). |
void |
AbstractChannelBuffer.writeBytes(ChannelBuffer src,
int length) |
void |
DynamicChannelBuffer.writeBytes(ChannelBuffer src,
int srcIndex,
int length) |
void |
ChannelBuffer.writeBytes(ChannelBuffer src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex by
the number of the transferred bytes (= length). |
void |
AbstractChannelBuffer.writeBytes(ChannelBuffer src,
int srcIndex,
int length) |
| Constructor and Description |
|---|
ChannelBufferInputStream(ChannelBuffer buffer) |
ChannelBufferInputStream(ChannelBuffer buffer,
int length) |
ChannelBufferOutputStream(ChannelBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ExchangeCodec.decode(Channel channel,
ChannelBuffer buffer) |
void |
ExchangeCodec.encode(Channel channel,
ChannelBuffer buffer,
Object msg) |
| Modifier and Type | Method and Description |
|---|---|
Object |
TelnetCodec.decode(Channel channel,
ChannelBuffer buffer) |
void |
TelnetCodec.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
| Modifier and Type | Method and Description |
|---|---|
Object |
TransportCodec.decode(Channel channel,
ChannelBuffer buffer) |
Object |
CodecAdapter.decode(Channel channel,
ChannelBuffer buffer) |
void |
TransportCodec.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
void |
CodecAdapter.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
| Modifier and Type | Class and Description |
|---|---|
class |
NettyBackedChannelBuffer |
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
NettyBackedChannelBuffer.copy() |
ChannelBuffer |
NettyBackedChannelBuffer.copy(int index,
int length) |
ChannelBuffer |
NettyBackedChannelBufferFactory.getBuffer(byte[] array,
int offset,
int length) |
ChannelBuffer |
NettyBackedChannelBufferFactory.getBuffer(ByteBuffer nioBuffer) |
ChannelBuffer |
NettyBackedChannelBufferFactory.getBuffer(int capacity) |
ChannelBuffer |
NettyBackedChannelBuffer.readBytes(int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
NettyBackedChannelBuffer.compareTo(ChannelBuffer o) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int length) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst,
int length) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst,
int dstIndex,
int length) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src,
int length) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src,
int length) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src,
int srcIndex,
int length) |
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
NettyBackedChannelBuffer.copy() |
ChannelBuffer |
NettyBackedChannelBuffer.copy(int index,
int length) |
ChannelBuffer |
NettyBackedChannelBuffer.readBytes(int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
NettyBackedChannelBuffer.compareTo(ChannelBuffer o) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int length) |
void |
NettyBackedChannelBuffer.getBytes(int index,
ChannelBuffer dst,
int dstIndex,
int length) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst,
int length) |
void |
NettyBackedChannelBuffer.readBytes(ChannelBuffer dst,
int dstIndex,
int length) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src,
int length) |
void |
NettyBackedChannelBuffer.setBytes(int index,
ChannelBuffer src,
int srcIndex,
int length) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src,
int length) |
void |
NettyBackedChannelBuffer.writeBytes(ChannelBuffer src,
int srcIndex,
int length) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DubboCountCodec.decode(Channel channel,
ChannelBuffer buffer) |
void |
DubboCountCodec.encode(Channel channel,
ChannelBuffer buffer,
Object msg) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ThriftNativeCodec.decode(Channel channel,
ChannelBuffer buffer) |
Object |
ThriftCodec.decode(Channel channel,
ChannelBuffer buffer) |
void |
ThriftNativeCodec.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
void |
ThriftCodec.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.