IoBuffer
instance.TextLineDecoder.InputStream wrapper for ByteBuffer
Currently this class is only used and available in MINA's codec module
OutputStream wrapper for ByteBuffer
Currently this class is only used and available in MINA's codec module
IoBuffer
When a truncated input is given to this method it may return null.ByteBuffer
The actual decoding needs to be implemented in the abstract method
IoBufferDecoder#decode(ByteBuffer)
INPUT into higher-level protocol message objects,
of type OUTPUTINPUT into higher-level protocol message objects,
of type OUTPUTIoBuffer, with an independent copy of the position, limit and mark.ByteBufferByteBuffer
The actual encoding needs to be implemented in the abstract method
ByteBufferEncoder.encode(Object)
INPUT into binary or protocol-specific data of type
OUTPUT.IoBufferProtocolDecoder if something wrong happen during decoding.ByteBuffer or any other
protocol level construction.ProtocolEncoder if something wrong happen during encoding.Integer wrapper.ProtocolDecoder : no context stored for the different sessions.ProtocolEncoder : no context stored for the different sessions.ProtocolDecoder which decodes a text line into a string.Charset and LineDelimiter.AUTO delimiter.Charset and the specified delimiter.Charset and the specified delimiter.LineDelimiter.AUTO delimiter.ProtocolEncoder which encodes a string into a text line
which ends with the delimiter.Charset
and LineDelimiter.UNIX delimiter.Charset
and the specified delimiter.Charset
and the specified delimiter.LineDelimiter.UNIX delimiter.ByteBuffer.Copyright © 2009–2013 Apache MINA Project. All rights reserved.