Package | Description |
---|---|
org.apache.mina.codec | |
org.apache.mina.codec.delimited |
Set of tools for delimited buffers.
|
org.apache.mina.codec.delimited.serialization |
Serialization mechanisms.
|
Modifier and Type | Method and Description |
---|---|
IoBuffer |
IoBuffer.add(ByteBuffer... buffers)
Add one or more ByteBuffer to the current IoBuffer
|
static IoBuffer |
IoBuffer.allocate(int capacity) |
static IoBuffer |
IoBuffer.allocateDirect(int capacity) |
IoBuffer |
IoBuffer.asReadOnlyBuffer() |
IoBuffer |
IoBuffer.clear() |
IoBuffer |
IoBuffer.compact() |
IoBuffer |
IoBuffer.duplicate()
Returns a copy of the current
IoBuffer , with an independent copy of the position, limit and mark. |
IoBuffer |
IoBuffer.extend(int size)
Extends the current IoBuffer capacity.
|
IoBuffer |
IoBuffer.flip() |
IoBuffer |
IoBuffer.get(byte[] dst) |
IoBuffer |
IoBuffer.get(byte[] dst,
int offset,
int length) |
static IoBuffer |
IoBuffer.newInstance()
Build a new instance of
IoBuffer |
IoBuffer |
IoBuffer.order(ByteOrder bo)
Sets the byte order of this IoBuffer.
|
IoBuffer |
IoBuffer.put(byte b) |
IoBuffer |
IoBuffer.put(byte[] src) |
IoBuffer |
IoBuffer.put(byte[] src,
int offset,
int length) |
IoBuffer |
IoBuffer.put(ByteBuffer src) |
IoBuffer |
IoBuffer.put(int index,
byte value) |
IoBuffer |
IoBuffer.put(IoBuffer src) |
IoBuffer |
IoBuffer.putChar(char value) |
IoBuffer |
IoBuffer.putChar(int index,
char value) |
IoBuffer |
IoBuffer.putDouble(double value) |
IoBuffer |
IoBuffer.putDouble(int index,
double value) |
IoBuffer |
IoBuffer.putFloat(float value) |
IoBuffer |
IoBuffer.putFloat(int index,
float value) |
IoBuffer |
IoBuffer.putInt(int value) |
IoBuffer |
IoBuffer.putInt(int index,
int value) |
IoBuffer |
IoBuffer.putLong(int index,
long value) |
IoBuffer |
IoBuffer.putLong(long value) |
IoBuffer |
IoBuffer.putShort(int index,
short value) |
IoBuffer |
IoBuffer.putShort(short value) |
IoBuffer |
IoBuffer.reset() |
IoBuffer |
IoBuffer.rewind() |
IoBuffer |
IoBuffer.slice() |
static IoBuffer |
IoBuffer.wrap(byte[]... arrays) |
static IoBuffer |
IoBuffer.wrap(byte[] array,
int offset,
int length) |
static IoBuffer |
IoBuffer.wrap(ByteBuffer... buffers)
Wraps ByteBuffers into a new IoBuffer
|
Modifier and Type | Method and Description |
---|---|
IoBuffer |
IoBuffer.put(IoBuffer src) |
Modifier and Type | Method and Description |
---|---|
abstract INPUT |
IoBufferDecoder.decode(IoBuffer input)
Decodes a message from a
IoBuffer
When a truncated input is given to this method it may return null. |
OUT |
SizePrefixedDecoder.decode(IoBuffer input,
SizePrefixedDecoder.MutableInt nextBlockSize) |
INPUT |
IoBufferDecoder.decode(IoBuffer input,
Void context)
Decodes a message from a
ByteBuffer
The actual decoding needs to be implemented in the abstract method
IoBufferDecoder#decode(ByteBuffer)
|
Modifier and Type | Method and Description |
---|---|
IN |
ProtobufMessageDecoder.decode(IoBuffer input) |
ProtobufDynamicMessageDecoder.ProtobufSerializedMessage |
ProtobufDynamicMessageDecoder.decode(IoBuffer input) |
ThriftDynamicMessageDecoder.ThriftSerializedMessage |
ThriftDynamicMessageDecoder.decode(IoBuffer buffer) |
OUTPUT |
ThriftMessageDecoder.decode(IoBuffer input)
Decodes a message from a
IoBuffer
When a truncated input is given to this method it may return null. |
IN |
JavaNativeMessageDecoder.decode(IoBuffer input) |
Constructor and Description |
---|
ProtobufDynamicMessageDecoder.ProtobufSerializedMessage(IoBuffer input) |
ThriftDynamicMessageDecoder.ThriftSerializedMessage(org.apache.thrift.TDeserializer deserializer,
IoBuffer buffer) |
Copyright © 2009–2013 Apache MINA Project. All rights reserved.