A B C D E F G H I J L M N O P R S T U V W 

A

add(ByteBuffer...) - Method in class org.apache.mina.codec.IoBuffer
Add one or more ByteBuffer to the current IoBuffer
allocate(int) - Static method in class org.apache.mina.codec.IoBuffer
 
allocateDirect(int) - Static method in class org.apache.mina.codec.IoBuffer
 
append(ByteBuffer) - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
array() - Method in class org.apache.mina.codec.IoBuffer
 
arrayOffset() - Method in class org.apache.mina.codec.IoBuffer
 
asInputStream() - Method in class org.apache.mina.codec.IoBuffer
Provides an input stream which is actually reading the IoBuffer instance.
asReadOnlyBuffer() - Method in class org.apache.mina.codec.IoBuffer
 
AUTO - Static variable in class org.apache.mina.codec.textline.LineDelimiter
A special line delimiter which is used for auto-detection of EOL in TextLineDecoder.
available() - Method in class org.apache.mina.util.ByteBufferInputStream
 

B

ByteBufferEncoder<INPUT> - Class in org.apache.mina.codec.delimited
Abstract class providing both encoding and decoding methods between a given type and ByteBuffers.
ByteBufferEncoder() - Constructor for class org.apache.mina.codec.delimited.ByteBufferEncoder
 
ByteBufferInputStream - Class in org.apache.mina.util
InputStream wrapper for ByteBuffer Currently this class is only used and available in MINA's codec module
ByteBufferInputStream(ByteBuffer) - Constructor for class org.apache.mina.util.ByteBufferInputStream
 
ByteBufferOutputStream - Class in org.apache.mina.util
OutputStream wrapper for ByteBuffer Currently this class is only used and available in MINA's codec module
ByteBufferOutputStream() - Constructor for class org.apache.mina.util.ByteBufferOutputStream
 
ByteBufferOutputStream(int) - Constructor for class org.apache.mina.util.ByteBufferOutputStream
 

C

capacity() - Method in class org.apache.mina.codec.IoBuffer
 
clear() - Method in class org.apache.mina.codec.IoBuffer
 
compact() - Method in class org.apache.mina.codec.IoBuffer
 
createDecoderState() - Method in class org.apache.mina.codec.delimited.IoBufferDecoder
Being stateless, this method is left empty
createDecoderState() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder
 
createDecoderState() - Method in interface org.apache.mina.codec.ProtocolDecoder
Create a new session context for this decoder
createDecoderState() - Method in class org.apache.mina.codec.textline.TextLineDecoder
 
createEncoderState() - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
Being stateless, this method is left empty
createEncoderState() - Method in class org.apache.mina.codec.delimited.SizePrefixedEncoder
 
createEncoderState() - Method in interface org.apache.mina.codec.ProtocolEncoder
Create a new session context for this decoder
createEncoderState() - Method in class org.apache.mina.codec.textline.TextLineEncoder
 
CRLF - Static variable in class org.apache.mina.codec.textline.LineDelimiter
The CRLF line delimiter constant ("\r\n")

D

decode(IoBuffer) - Method in class org.apache.mina.codec.delimited.IoBufferDecoder
Decodes a message from a IoBuffer When a truncated input is given to this method it may return null.
decode(IoBuffer, Void) - Method in class org.apache.mina.codec.delimited.IoBufferDecoder
Decodes a message from a ByteBuffer The actual decoding needs to be implemented in the abstract method IoBufferDecoder#decode(ByteBuffer)
decode(IoBuffer) - Method in class org.apache.mina.codec.delimited.serialization.JavaNativeMessageDecoder
 
decode(IoBuffer, SizePrefixedDecoder.MutableInt) - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder
 
decode(INPUT, DECODING_STATE) - Method in interface org.apache.mina.codec.ProtocolDecoder
Decode binary or protocol-specific content of type INPUT into higher-level protocol message objects, of type OUTPUT
decode(ByteBuffer, TextLineDecoder.Context) - Method in class org.apache.mina.codec.textline.TextLineDecoder
Decode binary or protocol-specific content of type INPUT into higher-level protocol message objects, of type OUTPUT
DEFAULT - Static variable in class org.apache.mina.codec.textline.LineDelimiter
the line delimiter constant of the current O/S.
duplicate() - Method in class org.apache.mina.codec.IoBuffer
Returns a copy of the current IoBuffer, with an independent copy of the position, limit and mark.

E

encode(INPUT) - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
Encodes a message to a ByteBuffer
encode(INPUT, Void) - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
Encodes a message to a ByteBuffer The actual encoding needs to be implemented in the abstract method ByteBufferEncoder.encode(Object)
encode(OUT) - Method in class org.apache.mina.codec.delimited.serialization.JavaNativeMessageEncoder
 
encode(IN, Void) - Method in class org.apache.mina.codec.delimited.SizePrefixedEncoder
 
encode(INPUT, ENCODING_STATE) - Method in interface org.apache.mina.codec.ProtocolEncoder
Encodes higher-level message objects of type INPUT into binary or protocol-specific data of type OUTPUT.
encode(String, Void) - Method in class org.apache.mina.codec.textline.TextLineEncoder
 
equals(Object) - Method in class org.apache.mina.codec.IoBuffer
equals(Object) - Method in class org.apache.mina.codec.textline.LineDelimiter
extend(int) - Method in class org.apache.mina.codec.IoBuffer
Extends the current IoBuffer capacity.

F

finishDecode(Void) - Method in class org.apache.mina.codec.delimited.IoBufferDecoder
Being stateless, this method is left empty
finishDecode(SizePrefixedDecoder.MutableInt) - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder
 
finishDecode(DECODING_STATE) - Method in interface org.apache.mina.codec.ProtocolDecoder
Finish decoding, for example if the decoder accumulated some unused input, it should discard it, or throw an Exception
finishDecode(TextLineDecoder.Context) - Method in class org.apache.mina.codec.textline.TextLineDecoder
Finish decoding, for example if the decoder accumulated some unused input, it should discard it, or throw an Exception
flip() - Method in class org.apache.mina.codec.IoBuffer
 

G

get() - Method in class org.apache.mina.codec.IoBuffer
 
get(byte[]) - Method in class org.apache.mina.codec.IoBuffer
 
get(byte[], int, int) - Method in class org.apache.mina.codec.IoBuffer
 
get(int) - Method in class org.apache.mina.codec.IoBuffer
 
getBuffer() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
getBufferLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder
Returns the allowed buffer size used to store the decoded line in the Context instance.
getByteBuffer() - Method in class org.apache.mina.util.ByteBufferOutputStream
 
getChar() - Method in class org.apache.mina.codec.IoBuffer
 
getChar(int) - Method in class org.apache.mina.codec.IoBuffer
 
getDecoder() - Method in interface org.apache.mina.codec.delimited.ints.IntTranscoder
 
getDecoder() - Method in class org.apache.mina.codec.delimited.ints.RawInt32
 
getDecoder() - Method in class org.apache.mina.codec.delimited.ints.VarInt
 
getDecoder() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
getDouble() - Method in class org.apache.mina.codec.IoBuffer
 
getDouble(int) - Method in class org.apache.mina.codec.IoBuffer
 
getEncodedSize(INPUT) - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
Computes the size of the serialized form of a message in bytes.
getEncodedSize(OUT) - Method in class org.apache.mina.codec.delimited.serialization.JavaNativeMessageEncoder
 
getEncoder() - Method in interface org.apache.mina.codec.delimited.ints.IntTranscoder
 
getEncoder() - Method in class org.apache.mina.codec.delimited.ints.RawInt32
 
getEncoder() - Method in class org.apache.mina.codec.delimited.ints.VarInt
 
getFloat() - Method in class org.apache.mina.codec.IoBuffer
 
getFloat(int) - Method in class org.apache.mina.codec.IoBuffer
 
getInt() - Method in class org.apache.mina.codec.IoBuffer
 
getInt(int) - Method in class org.apache.mina.codec.IoBuffer
 
getLong() - Method in class org.apache.mina.codec.IoBuffer
 
getLong(int) - Method in class org.apache.mina.codec.IoBuffer
 
getMatchCount() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
getMaxLineLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder
Returns the allowed maximum size of the line to be decoded.
getMaxLineLength() - Method in class org.apache.mina.codec.textline.TextLineEncoder
Returns the allowed maximum size of the encoded line.
getOverflowLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
getShort() - Method in class org.apache.mina.codec.IoBuffer
 
getShort(int) - Method in class org.apache.mina.codec.IoBuffer
 
getValue() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
Gets the value as a Integer instance.
getValue() - Method in class org.apache.mina.codec.textline.LineDelimiter
Return the delimiter string.

H

hashCode() - Method in class org.apache.mina.codec.IoBuffer
hashCode() - Method in class org.apache.mina.codec.textline.LineDelimiter
hasRemaining() - Method in class org.apache.mina.codec.IoBuffer
 

I

IntTranscoder - Interface in org.apache.mina.codec.delimited.ints
 
IoBuffer - Class in org.apache.mina.codec
A proxy class used to manage ByteBuffers as if they were just a big ByteBuffer.
IoBufferDecoder<INPUT> - Class in org.apache.mina.codec.delimited
Abstract class providing both encoding and decoding methods between a given type and ByteBuffers.
IoBufferDecoder() - Constructor for class org.apache.mina.codec.delimited.IoBufferDecoder
 
isDefined() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
Returns the existence (or not) of an integer in this mutable.
isDirect() - Method in class org.apache.mina.codec.IoBuffer
 
isElastic() - Method in class org.apache.mina.util.ByteBufferOutputStream
 
isReadOnly() - Method in class org.apache.mina.codec.IoBuffer
 

J

JavaNativeMessageDecoder<IN extends Serializable> - Class in org.apache.mina.codec.delimited.serialization
Decoder providing the built-in Java-deserialization.
JavaNativeMessageDecoder() - Constructor for class org.apache.mina.codec.delimited.serialization.JavaNativeMessageDecoder
 
JavaNativeMessageEncoder<OUT extends Serializable> - Class in org.apache.mina.codec.delimited.serialization
Encoder providing the built-in Java-serialization.
JavaNativeMessageEncoder() - Constructor for class org.apache.mina.codec.delimited.serialization.JavaNativeMessageEncoder
 

L

limit() - Method in class org.apache.mina.codec.IoBuffer
 
limit(int) - Method in class org.apache.mina.codec.IoBuffer
 
LineDelimiter - Class in org.apache.mina.codec.textline
A delimiter which is appended to the end of a text line, such as CR/LF.
LineDelimiter(String) - Constructor for class org.apache.mina.codec.textline.LineDelimiter
Creates a new line delimiter with the specified value.

M

MAC - Static variable in class org.apache.mina.codec.textline.LineDelimiter
The line delimiter constant of Mac OS ("\r")
mark() - Method in class org.apache.mina.codec.IoBuffer
 
mark(int) - Method in class org.apache.mina.util.ByteBufferInputStream
 
markSupported() - Method in class org.apache.mina.util.ByteBufferInputStream
 

N

newInstance() - Static method in class org.apache.mina.codec.IoBuffer
Build a new instance of IoBuffer
NUL - Static variable in class org.apache.mina.codec.textline.LineDelimiter
The line delimiter constant for NUL-terminated text protocols such as Flash XML socket ("\0")

O

order() - Method in class org.apache.mina.codec.IoBuffer
Returns the byte order used by this IoBuffer when converting bytes from/to other primitive types.
order(ByteOrder) - Method in class org.apache.mina.codec.IoBuffer
Sets the byte order of this IoBuffer.
org.apache.mina.codec - package org.apache.mina.codec
 
org.apache.mina.codec.delimited - package org.apache.mina.codec.delimited
Set of tools for delimited buffers.
org.apache.mina.codec.delimited.ints - package org.apache.mina.codec.delimited.ints
Integer encoder and decoders used for delimited buffers.
org.apache.mina.codec.delimited.serialization - package org.apache.mina.codec.delimited.serialization
Serialization mechanisms.
org.apache.mina.codec.textline - package org.apache.mina.codec.textline
 
org.apache.mina.util - package org.apache.mina.util
Various utilities.

P

position() - Method in class org.apache.mina.codec.IoBuffer
 
position(int) - Method in class org.apache.mina.codec.IoBuffer
 
ProtocolDecoder<INPUT,OUTPUT,DECODING_STATE> - Interface in org.apache.mina.codec
Decodes binary or protocol-specific data into higher-level message objects.
ProtocolDecoderException - Exception in org.apache.mina.codec
Exception thrown by a ProtocolDecoder if something wrong happen during decoding.
ProtocolDecoderException() - Constructor for exception org.apache.mina.codec.ProtocolDecoderException
 
ProtocolDecoderException(String) - Constructor for exception org.apache.mina.codec.ProtocolDecoderException
 
ProtocolDecoderException(Throwable) - Constructor for exception org.apache.mina.codec.ProtocolDecoderException
 
ProtocolDecoderException(String, Throwable) - Constructor for exception org.apache.mina.codec.ProtocolDecoderException
 
ProtocolEncoder<INPUT,OUTPUT,ENCODING_STATE> - Interface in org.apache.mina.codec
In charge of encoding a message of type MESSAGE into another form (could be a ByteBuffer or any other protocol level construction.
ProtocolEncoderException - Exception in org.apache.mina.codec
Exception thrown by a ProtocolEncoder if something wrong happen during encoding.
ProtocolEncoderException() - Constructor for exception org.apache.mina.codec.ProtocolEncoderException
 
ProtocolEncoderException(String) - Constructor for exception org.apache.mina.codec.ProtocolEncoderException
 
ProtocolEncoderException(Throwable) - Constructor for exception org.apache.mina.codec.ProtocolEncoderException
 
ProtocolEncoderException(String, Throwable) - Constructor for exception org.apache.mina.codec.ProtocolEncoderException
 
put(byte) - Method in class org.apache.mina.codec.IoBuffer
 
put(byte[]) - Method in class org.apache.mina.codec.IoBuffer
 
put(ByteBuffer) - Method in class org.apache.mina.codec.IoBuffer
 
put(IoBuffer) - Method in class org.apache.mina.codec.IoBuffer
 
put(byte[], int, int) - Method in class org.apache.mina.codec.IoBuffer
 
put(int, byte) - Method in class org.apache.mina.codec.IoBuffer
 
putChar(char) - Method in class org.apache.mina.codec.IoBuffer
 
putChar(int, char) - Method in class org.apache.mina.codec.IoBuffer
 
putDouble(double) - Method in class org.apache.mina.codec.IoBuffer
 
putDouble(int, double) - Method in class org.apache.mina.codec.IoBuffer
 
putFloat(float) - Method in class org.apache.mina.codec.IoBuffer
 
putFloat(int, float) - Method in class org.apache.mina.codec.IoBuffer
 
putInt(int) - Method in class org.apache.mina.codec.IoBuffer
 
putInt(int, int) - Method in class org.apache.mina.codec.IoBuffer
 
putLong(int, long) - Method in class org.apache.mina.codec.IoBuffer
 
putLong(long) - Method in class org.apache.mina.codec.IoBuffer
 
putShort(int, short) - Method in class org.apache.mina.codec.IoBuffer
 
putShort(short) - Method in class org.apache.mina.codec.IoBuffer
 

R

RawInt32 - Class in org.apache.mina.codec.delimited.ints
Class providing raw/canonical representation of integers.
RawInt32(ByteOrder) - Constructor for class org.apache.mina.codec.delimited.ints.RawInt32
 
read() - Method in class org.apache.mina.util.ByteBufferInputStream
 
read(byte[], int, int) - Method in class org.apache.mina.util.ByteBufferInputStream
 
remaining() - Method in class org.apache.mina.codec.IoBuffer
 
reset() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
Remove the value.
reset() - Method in class org.apache.mina.codec.IoBuffer
 
reset() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
reset() - Method in class org.apache.mina.util.ByteBufferInputStream
 
rewind() - Method in class org.apache.mina.codec.IoBuffer
 

S

setBufferLength(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder
Sets the default buffer size.
setElastic(boolean) - Method in class org.apache.mina.util.ByteBufferOutputStream
 
setMatchCount(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
 
setMaxLineLength(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder
Sets the allowed maximum size of the line to be decoded.
setMaxLineLength(int) - Method in class org.apache.mina.codec.textline.TextLineEncoder
Sets the allowed maximum size of the encoded line.
setValue(Integer) - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
Set the value.
SizePrefixedDecoder<OUT> - Class in org.apache.mina.codec.delimited
 
SizePrefixedDecoder(IoBufferDecoder<Integer>, IoBufferDecoder<OUT>) - Constructor for class org.apache.mina.codec.delimited.SizePrefixedDecoder
 
SizePrefixedDecoder.MutableInt - Class in org.apache.mina.codec.delimited
A mutable Integer wrapper.
SizePrefixedEncoder<IN> - Class in org.apache.mina.codec.delimited
 
SizePrefixedEncoder(ByteBufferEncoder<Integer>, ByteBufferEncoder<IN>) - Constructor for class org.apache.mina.codec.delimited.SizePrefixedEncoder
 
skip(long) - Method in class org.apache.mina.util.ByteBufferInputStream
 
slice() - Method in class org.apache.mina.codec.IoBuffer
 
StatelessProtocolDecoder<INPUT,OUTPUT> - Interface in org.apache.mina.codec
A state less ProtocolDecoder : no context stored for the different sessions.
StatelessProtocolEncoder<INPUT,OUTPUT> - Interface in org.apache.mina.codec
A state less ProtocolEncoder : no context stored for the different sessions.

T

TextLineDecoder - Class in org.apache.mina.codec.textline
A ProtocolDecoder which decodes a text line into a string.
TextLineDecoder() - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the current default Charset and LineDelimiter.AUTO delimiter.
TextLineDecoder(String) - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the current default Charset and the specified delimiter.
TextLineDecoder(LineDelimiter) - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the current default Charset and the specified delimiter.
TextLineDecoder(Charset) - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the spcified charset and LineDelimiter.AUTO delimiter.
TextLineDecoder(Charset, String) - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the spcified charset and the specified delimiter.
TextLineDecoder(Charset, LineDelimiter) - Constructor for class org.apache.mina.codec.textline.TextLineDecoder
Creates a new instance with the specified charset and the specified delimiter.
TextLineDecoder.Context - Class in org.apache.mina.codec.textline
A Context used during the decoding of a lin.
TextLineEncoder - Class in org.apache.mina.codec.textline
A ProtocolEncoder which encodes a string into a text line which ends with the delimiter.
TextLineEncoder() - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the current default Charset and LineDelimiter.UNIX delimiter.
TextLineEncoder(String) - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the current default Charset and the specified delimiter.
TextLineEncoder(LineDelimiter) - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the current default Charset and the specified delimiter.
TextLineEncoder(Charset) - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the spcified charset and LineDelimiter.UNIX delimiter.
TextLineEncoder(Charset, String) - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the spcified charset and the specified delimiter.
TextLineEncoder(Charset, LineDelimiter) - Constructor for class org.apache.mina.codec.textline.TextLineEncoder
Creates a new instance with the spcified charset and the specified delimiter.
toString() - Method in class org.apache.mina.codec.IoBuffer
 
toString() - Method in class org.apache.mina.codec.textline.LineDelimiter

U

UNIX - Static variable in class org.apache.mina.codec.textline.LineDelimiter
The line delimiter constant of UNIX ("\n")

V

VarInt - Class in org.apache.mina.codec.delimited.ints
Class providing a variable length representation of integers.
VarInt() - Constructor for class org.apache.mina.codec.delimited.ints.VarInt
 

W

WINDOWS - Static variable in class org.apache.mina.codec.textline.LineDelimiter
The line delimiter constant of MS Windows/DOS ("\r\n")
wrap(byte[]...) - Static method in class org.apache.mina.codec.IoBuffer
 
wrap(byte[], int, int) - Static method in class org.apache.mina.codec.IoBuffer
 
wrap(ByteBuffer...) - Static method in class org.apache.mina.codec.IoBuffer
Wraps ByteBuffers into a new IoBuffer
write(byte[], int, int) - Method in class org.apache.mina.util.ByteBufferOutputStream
 
write(int) - Method in class org.apache.mina.util.ByteBufferOutputStream
 
writeTo(INPUT, ByteBuffer) - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
Writes a message on a ByteBuffer.
writeTo(OUT, ByteBuffer) - Method in class org.apache.mina.codec.delimited.serialization.JavaNativeMessageEncoder
 
A B C D E F G H I J L M N O P R S T U V W 

Copyright © 2009–2013 Apache MINA Project. All rights reserved.