Uses of Class
org.apache.mina.common.IoBuffer

Packages that use IoBuffer
org.apache.mina.common Common types required for users to use MINA. 
org.apache.mina.filter.codec Filter implementations that helps you to implement complex protocols via 'codec' concept. 
org.apache.mina.filter.codec.demux Protocol codecs that helps you to implement even more complex protocols by splitting a codec into multiple sub-codecs. 
org.apache.mina.filter.codec.netty Protocol codec which provides the integration with Netty2 messages. 
org.apache.mina.filter.codec.prefixedstring   
org.apache.mina.filter.codec.serialization Protocol codecs which uses Java object serilization and leads to rapid protocol implementation. 
org.apache.mina.filter.codec.statemachine   
org.apache.mina.filter.codec.textline A protocol codec for text-based protocols. 
org.apache.mina.transport.socket.apr   
org.apache.mina.transport.socket.nio Socket (TCP/IP) and Datagram (UDP/IP) support based on Java NIO (New I/O) API
 

Uses of IoBuffer in org.apache.mina.common
 

Subclasses of IoBuffer in org.apache.mina.common
 class AbstractIoBuffer
          A base implementation of IoBuffer.
 class IoBufferWrapper
          A IoBuffer that wraps a buffer and proxies any operations to it.
 class UnderivableBuffer
          An IoBufferWrapper that prohibits derivation of the buffer.
 

Fields in org.apache.mina.common declared as IoBuffer
static IoBuffer IoBuffer.EMPTY_BUFFER
          An immutable empty buffer.
 

Methods in org.apache.mina.common that return IoBuffer
static IoBuffer IoBuffer.allocate(int capacity)
          Returns the direct or heap buffer which is capable to store the specified amount of bytes.
static IoBuffer IoBuffer.allocate(int capacity, boolean direct)
          Returns the buffer which is capable of the specified size.
 IoBuffer IoBufferAllocator.allocate(int capacity, boolean direct)
          Returns the buffer which is capable of the specified size.
 IoBuffer CachedBufferAllocator.allocate(int requestedCapacity, boolean direct)
           
 IoBuffer SimpleBufferAllocator.allocate(int capacity, boolean direct)
           
abstract  IoBuffer IoBuffer.asReadOnlyBuffer()
           
 IoBuffer IoBufferWrapper.asReadOnlyBuffer()
           
 IoBuffer AbstractIoBuffer.asReadOnlyBuffer()
           
 IoBuffer UnderivableBuffer.asReadOnlyBuffer()
           
protected abstract  IoBuffer AbstractIoBuffer.asReadOnlyBuffer0()
          Implement this method to return the unexpandable read only version of this buffer.
abstract  IoBuffer IoBuffer.capacity(int newCapacity)
          Increases the capacity of this buffer.
 IoBuffer IoBufferWrapper.capacity(int newCapacity)
           
 IoBuffer AbstractIoBuffer.capacity(int newCapacity)
           
abstract  IoBuffer IoBuffer.clear()
           
 IoBuffer IoBufferWrapper.clear()
           
 IoBuffer AbstractIoBuffer.clear()
           
abstract  IoBuffer IoBuffer.compact()
           
 IoBuffer IoBufferWrapper.compact()
           
 IoBuffer AbstractIoBuffer.compact()
           
abstract  IoBuffer IoBuffer.duplicate()
           
 IoBuffer IoBufferWrapper.duplicate()
           
 IoBuffer AbstractIoBuffer.duplicate()
           
 IoBuffer UnderivableBuffer.duplicate()
           
protected abstract  IoBuffer AbstractIoBuffer.duplicate0()
          Implement this method to return the unexpandable duplicate of this buffer.
abstract  IoBuffer IoBuffer.expand(int expectedRemaining)
          Changes the capacity and limit of this buffer so this buffer get the specified expectedRemaining room from the current position.
 IoBuffer IoBufferWrapper.expand(int expectedRemaining)
           
 IoBuffer AbstractIoBuffer.expand(int expectedRemaining)
           
abstract  IoBuffer IoBuffer.expand(int position, int expectedRemaining)
          Changes the capacity and limit of this buffer so this buffer get the specified expectedRemaining room from the specified position.
 IoBuffer IoBufferWrapper.expand(int pos, int expectedRemaining)
           
 IoBuffer AbstractIoBuffer.expand(int pos, int expectedRemaining)
           
abstract  IoBuffer IoBuffer.fill(byte value, int size)
          Fills this buffer with the specified value.
 IoBuffer IoBufferWrapper.fill(byte value, int size)
           
 IoBuffer AbstractIoBuffer.fill(byte value, int size)
           
abstract  IoBuffer IoBuffer.fill(int size)
          Fills this buffer with NUL (0x00).
 IoBuffer IoBufferWrapper.fill(int size)
           
 IoBuffer AbstractIoBuffer.fill(int size)
           
abstract  IoBuffer IoBuffer.fillAndReset(byte value, int size)
          Fills this buffer with the specified value.
 IoBuffer IoBufferWrapper.fillAndReset(byte value, int size)
           
 IoBuffer AbstractIoBuffer.fillAndReset(byte value, int size)
           
abstract  IoBuffer IoBuffer.fillAndReset(int size)
          Fills this buffer with NUL (0x00).
 IoBuffer IoBufferWrapper.fillAndReset(int size)
           
 IoBuffer AbstractIoBuffer.fillAndReset(int size)
           
abstract  IoBuffer IoBuffer.flip()
           
 IoBuffer IoBufferWrapper.flip()
           
 IoBuffer AbstractIoBuffer.flip()
           
abstract  IoBuffer IoBuffer.get(byte[] dst)
           
 IoBuffer IoBufferWrapper.get(byte[] dst)
           
 IoBuffer AbstractIoBuffer.get(byte[] dst)
           
abstract  IoBuffer IoBuffer.get(byte[] dst, int offset, int length)
           
 IoBuffer IoBufferWrapper.get(byte[] dst, int offset, int length)
           
 IoBuffer AbstractIoBuffer.get(byte[] dst, int offset, int length)
           
 IoBuffer IoBufferWrapper.getParentBuffer()
          Returns the parent buffer that this buffer wrapped.
abstract  IoBuffer IoBuffer.getSlice(int length)
          TODO document me.
 IoBuffer IoBufferWrapper.getSlice(int length)
           
 IoBuffer AbstractIoBuffer.getSlice(int length)
           
abstract  IoBuffer IoBuffer.getSlice(int index, int length)
          TODO document me.
 IoBuffer IoBufferWrapper.getSlice(int index, int length)
           
 IoBuffer AbstractIoBuffer.getSlice(int index, int length)
           
abstract  IoBuffer IoBuffer.limit(int newLimit)
           
 IoBuffer IoBufferWrapper.limit(int newLimit)
           
 IoBuffer AbstractIoBuffer.limit(int newLimit)
           
abstract  IoBuffer IoBuffer.mark()
           
 IoBuffer IoBufferWrapper.mark()
           
 IoBuffer AbstractIoBuffer.mark()
           
abstract  IoBuffer IoBuffer.minimumCapacity(int minimumCapacity)
          Sets the minimum capacity of this buffer which is used to determine the new capacity of the buffer shrunk by compact() and shrink() operation.
 IoBuffer IoBufferWrapper.minimumCapacity(int minimumCapacity)
           
 IoBuffer AbstractIoBuffer.minimumCapacity(int minimumCapacity)
           
abstract  IoBuffer IoBuffer.order(ByteOrder bo)
           
 IoBuffer IoBufferWrapper.order(ByteOrder bo)
           
 IoBuffer AbstractIoBuffer.order(ByteOrder bo)
           
abstract  IoBuffer IoBuffer.position(int newPosition)
           
 IoBuffer IoBufferWrapper.position(int newPosition)
           
 IoBuffer AbstractIoBuffer.position(int newPosition)
           
abstract  IoBuffer IoBuffer.put(byte b)
           
 IoBuffer IoBufferWrapper.put(byte b)
           
 IoBuffer AbstractIoBuffer.put(byte b)
           
abstract  IoBuffer IoBuffer.put(byte[] src)
           
 IoBuffer IoBufferWrapper.put(byte[] src)
           
 IoBuffer AbstractIoBuffer.put(byte[] src)
           
abstract  IoBuffer IoBuffer.put(byte[] src, int offset, int length)
           
 IoBuffer IoBufferWrapper.put(byte[] src, int offset, int length)
           
 IoBuffer AbstractIoBuffer.put(byte[] src, int offset, int length)
           
abstract  IoBuffer IoBuffer.put(ByteBuffer src)
          Writes the content of the specified src into this buffer.
 IoBuffer IoBufferWrapper.put(ByteBuffer src)
           
 IoBuffer AbstractIoBuffer.put(ByteBuffer src)
           
abstract  IoBuffer IoBuffer.put(int index, byte b)
           
 IoBuffer IoBufferWrapper.put(int index, byte b)
           
 IoBuffer AbstractIoBuffer.put(int index, byte b)
           
abstract  IoBuffer IoBuffer.put(IoBuffer src)
          Writes the content of the specified src into this buffer.
 IoBuffer IoBufferWrapper.put(IoBuffer src)
           
 IoBuffer AbstractIoBuffer.put(IoBuffer src)
           
abstract  IoBuffer IoBuffer.putChar(char value)
           
 IoBuffer IoBufferWrapper.putChar(char value)
           
 IoBuffer AbstractIoBuffer.putChar(char value)
           
abstract  IoBuffer IoBuffer.putChar(int index, char value)
           
 IoBuffer IoBufferWrapper.putChar(int index, char value)
           
 IoBuffer AbstractIoBuffer.putChar(int index, char value)
           
abstract  IoBuffer IoBuffer.putDouble(double value)
           
 IoBuffer IoBufferWrapper.putDouble(double value)
           
 IoBuffer AbstractIoBuffer.putDouble(double value)
           
abstract  IoBuffer IoBuffer.putDouble(int index, double value)
           
 IoBuffer IoBufferWrapper.putDouble(int index, double value)
           
 IoBuffer AbstractIoBuffer.putDouble(int index, double value)
           
abstract  IoBuffer IoBuffer.putEnum(Enum<?> e)
          Writes an enum's ordinal value to the buffer as a byte.
 IoBuffer IoBufferWrapper.putEnum(Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnum(Enum<?> e)
           
abstract  IoBuffer IoBuffer.putEnum(int index, Enum<?> e)
          Writes an enum's ordinal value to the buffer as a byte.
 IoBuffer IoBufferWrapper.putEnum(int index, Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnum(int index, Enum<?> e)
           
abstract  IoBuffer IoBuffer.putEnumInt(Enum<?> e)
          Writes an enum's ordinal value to the buffer as an integer.
 IoBuffer IoBufferWrapper.putEnumInt(Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnumInt(Enum<?> e)
           
abstract  IoBuffer IoBuffer.putEnumInt(int index, Enum<?> e)
          Writes an enum's ordinal value to the buffer as an integer.
 IoBuffer IoBufferWrapper.putEnumInt(int index, Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnumInt(int index, Enum<?> e)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSet(int index, Set<E> set)
          Writes the specified Set to the buffer as a byte sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSet(int index, Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSet(int index, Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSet(Set<E> set)
          Writes the specified Set to the buffer as a byte sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSet(Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSet(Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetInt(int index, Set<E> set)
          Writes the specified Set to the buffer as an int sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetInt(int index, Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetInt(int index, Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetInt(Set<E> set)
          Writes the specified Set to the buffer as an int sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetInt(Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetInt(Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetLong(int index, Set<E> set)
          Writes the specified Set to the buffer as a long sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetLong(int index, Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetLong(int index, Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetLong(Set<E> set)
          Writes the specified Set to the buffer as a long sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetLong(Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetLong(Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetShort(int index, Set<E> set)
          Writes the specified Set to the buffer as a short sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetShort(int index, Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetShort(int index, Set<E> set)
           
abstract
<E extends Enum<E>>
IoBuffer
IoBuffer.putEnumSetShort(Set<E> set)
          Writes the specified Set to the buffer as a short sized bit vector.
<E extends Enum<E>>
IoBuffer
IoBufferWrapper.putEnumSetShort(Set<E> set)
           
<E extends Enum<E>>
IoBuffer
AbstractIoBuffer.putEnumSetShort(Set<E> set)
           
abstract  IoBuffer IoBuffer.putEnumShort(Enum<?> e)
          Writes an enum's ordinal value to the buffer as a short.
 IoBuffer IoBufferWrapper.putEnumShort(Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnumShort(Enum<?> e)
           
abstract  IoBuffer IoBuffer.putEnumShort(int index, Enum<?> e)
          Writes an enum's ordinal value to the buffer as a short.
 IoBuffer IoBufferWrapper.putEnumShort(int index, Enum<?> e)
           
 IoBuffer AbstractIoBuffer.putEnumShort(int index, Enum<?> e)
           
abstract  IoBuffer IoBuffer.putFloat(float value)
           
 IoBuffer IoBufferWrapper.putFloat(float value)
           
 IoBuffer AbstractIoBuffer.putFloat(float value)
           
abstract  IoBuffer IoBuffer.putFloat(int index, float value)
           
 IoBuffer IoBufferWrapper.putFloat(int index, float value)
           
 IoBuffer AbstractIoBuffer.putFloat(int index, float value)
           
abstract  IoBuffer IoBuffer.putInt(int value)
           
 IoBuffer IoBufferWrapper.putInt(int value)
           
 IoBuffer AbstractIoBuffer.putInt(int value)
           
abstract  IoBuffer IoBuffer.putInt(int index, int value)
           
 IoBuffer IoBufferWrapper.putInt(int index, int value)
           
 IoBuffer AbstractIoBuffer.putInt(int index, int value)
           
abstract  IoBuffer IoBuffer.putLong(int index, long value)
           
 IoBuffer IoBufferWrapper.putLong(int index, long value)
           
 IoBuffer AbstractIoBuffer.putLong(int index, long value)
           
abstract  IoBuffer IoBuffer.putLong(long value)
           
 IoBuffer IoBufferWrapper.putLong(long value)
           
 IoBuffer AbstractIoBuffer.putLong(long value)
           
abstract  IoBuffer IoBuffer.putMediumInt(int value)
          Relative put method for writing a medium int value.
 IoBuffer IoBufferWrapper.putMediumInt(int value)
           
 IoBuffer AbstractIoBuffer.putMediumInt(int value)
           
abstract  IoBuffer IoBuffer.putMediumInt(int index, int value)
          Absolute put method for writing a medium int value.
 IoBuffer IoBufferWrapper.putMediumInt(int index, int value)
           
 IoBuffer AbstractIoBuffer.putMediumInt(int index, int value)
           
abstract  IoBuffer IoBuffer.putObject(Object o)
          Writes the specified Java object to the buffer.
 IoBuffer IoBufferWrapper.putObject(Object o)
           
 IoBuffer AbstractIoBuffer.putObject(Object o)
           
abstract  IoBuffer IoBuffer.putPrefixedString(CharSequence in, CharsetEncoder encoder)
          Writes the content of in into this buffer as a string which has a 16-bit length field before the actual encoded string, using the specified encoder.
 IoBuffer IoBufferWrapper.putPrefixedString(CharSequence in, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putPrefixedString(CharSequence in, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.putPrefixedString(CharSequence in, int prefixLength, CharsetEncoder encoder)
          Writes the content of in into this buffer as a string which has a 16-bit length field before the actual encoded string, using the specified encoder.
 IoBuffer IoBufferWrapper.putPrefixedString(CharSequence in, int prefixLength, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putPrefixedString(CharSequence in, int prefixLength, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.putPrefixedString(CharSequence val, int prefixLength, int padding, byte padValue, CharsetEncoder encoder)
          Writes the content of in into this buffer as a string which has a 16-bit length field before the actual encoded string, using the specified encoder.
 IoBuffer IoBufferWrapper.putPrefixedString(CharSequence in, int prefixLength, int padding, byte padValue, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putPrefixedString(CharSequence val, int prefixLength, int padding, byte padValue, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.putPrefixedString(CharSequence in, int prefixLength, int padding, CharsetEncoder encoder)
          Writes the content of in into this buffer as a string which has a 16-bit length field before the actual encoded string, using the specified encoder.
 IoBuffer IoBufferWrapper.putPrefixedString(CharSequence in, int prefixLength, int padding, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putPrefixedString(CharSequence in, int prefixLength, int padding, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.putShort(int index, short value)
           
 IoBuffer IoBufferWrapper.putShort(int index, short value)
           
 IoBuffer AbstractIoBuffer.putShort(int index, short value)
           
abstract  IoBuffer IoBuffer.putShort(short value)
           
 IoBuffer IoBufferWrapper.putShort(short value)
           
 IoBuffer AbstractIoBuffer.putShort(short value)
           
abstract  IoBuffer IoBuffer.putString(CharSequence val, CharsetEncoder encoder)
          Writes the content of in into this buffer using the specified encoder.
 IoBuffer IoBufferWrapper.putString(CharSequence in, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putString(CharSequence val, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.putString(CharSequence val, int fieldSize, CharsetEncoder encoder)
          Writes the content of in into this buffer as a NUL-terminated string using the specified encoder.
 IoBuffer IoBufferWrapper.putString(CharSequence in, int fieldSize, CharsetEncoder encoder)
           
 IoBuffer AbstractIoBuffer.putString(CharSequence val, int fieldSize, CharsetEncoder encoder)
           
abstract  IoBuffer IoBuffer.reset()
           
 IoBuffer IoBufferWrapper.reset()
           
 IoBuffer AbstractIoBuffer.reset()
           
abstract  IoBuffer IoBuffer.rewind()
           
 IoBuffer IoBufferWrapper.rewind()
           
 IoBuffer AbstractIoBuffer.rewind()
           
abstract  IoBuffer IoBuffer.setAutoExpand(boolean autoExpand)
          Turns on or off autoExpand.
 IoBuffer IoBufferWrapper.setAutoExpand(boolean autoExpand)
           
 IoBuffer AbstractIoBuffer.setAutoExpand(boolean autoExpand)
           
abstract  IoBuffer IoBuffer.setAutoShrink(boolean autoShrink)
          Turns on or off autoShrink.
 IoBuffer IoBufferWrapper.setAutoShrink(boolean autoShrink)
           
 IoBuffer AbstractIoBuffer.setAutoShrink(boolean autoShrink)
           
abstract  IoBuffer IoBuffer.shrink()
          Changes the capacity of this buffer so this buffer occupies as less memory as possible while retaining the position, limit and the buffer content between the position and limit.
 IoBuffer IoBufferWrapper.shrink()
           
 IoBuffer AbstractIoBuffer.shrink()
           
abstract  IoBuffer IoBuffer.skip(int size)
          Forwards the position of this buffer as the specified size bytes.
 IoBuffer IoBufferWrapper.skip(int size)
           
 IoBuffer AbstractIoBuffer.skip(int size)
           
abstract  IoBuffer IoBuffer.slice()
           
 IoBuffer IoBufferWrapper.slice()
           
 IoBuffer AbstractIoBuffer.slice()
           
 IoBuffer UnderivableBuffer.slice()
           
protected abstract  IoBuffer AbstractIoBuffer.slice0()
          Implement this method to return the unexpandable slice of this buffer.
abstract  IoBuffer IoBuffer.sweep()
          Clears this buffer and fills its content with NUL.
 IoBuffer IoBufferWrapper.sweep()
           
 IoBuffer AbstractIoBuffer.sweep()
           
abstract  IoBuffer IoBuffer.sweep(byte value)
          Clears this buffer and fills its content with value.
 IoBuffer IoBufferWrapper.sweep(byte value)
           
 IoBuffer AbstractIoBuffer.sweep(byte value)
           
static IoBuffer IoBuffer.wrap(byte[] byteArray)
          Wraps the specified byte array into MINA heap buffer.
static IoBuffer IoBuffer.wrap(byte[] byteArray, int offset, int length)
          Wraps the specified byte array into MINA heap buffer.
static IoBuffer IoBuffer.wrap(ByteBuffer nioBuffer)
          Wraps the specified NIO ByteBuffer into MINA buffer.
 IoBuffer IoBufferAllocator.wrap(ByteBuffer nioBuffer)
          Wraps the specified NIO ByteBuffer into MINA buffer.
 IoBuffer CachedBufferAllocator.wrap(ByteBuffer nioBuffer)
           
 IoBuffer SimpleBufferAllocator.wrap(ByteBuffer nioBuffer)
           
 

Methods in org.apache.mina.common with parameters of type IoBuffer
 int IoBufferWrapper.compareTo(IoBuffer that)
           
 int AbstractIoBuffer.compareTo(IoBuffer that)
           
abstract  IoBuffer IoBuffer.put(IoBuffer src)
          Writes the content of the specified src into this buffer.
 IoBuffer IoBufferWrapper.put(IoBuffer src)
           
 IoBuffer AbstractIoBuffer.put(IoBuffer src)
           
protected abstract  int AbstractPollingIoProcessor.read(T session, IoBuffer buf)
           
protected abstract  SocketAddress AbstractPollingConnectionlessIoAcceptor.receive(H handle, IoBuffer buffer)
           
protected abstract  int AbstractPollingConnectionlessIoAcceptor.send(T session, IoBuffer buffer, SocketAddress remoteAddress)
           
protected abstract  int AbstractPollingIoProcessor.write(T session, IoBuffer buf, int length)
           
 

Constructors in org.apache.mina.common with parameters of type IoBuffer
IoBufferWrapper(IoBuffer buf)
          Create a new instance.
UnderivableBuffer(IoBuffer buf)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec
 

Methods in org.apache.mina.filter.codec with parameters of type IoBuffer
 void CumulativeProtocolDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
          Cumulates content of in into internal buffer and forwards decoding request to CumulativeProtocolDecoder.doDecode(IoSession, IoBuffer, ProtocolDecoderOutput).
 void ProtocolDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
          Decodes binary or protocol-specific content into higher-level message objects.
 void SynchronizedProtocolDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
protected abstract  boolean CumulativeProtocolDecoder.doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
          Implement this method to consume the specified cumulative buffer and decode its content into message(s).
 

Uses of IoBuffer in org.apache.mina.filter.codec.demux
 

Methods in org.apache.mina.filter.codec.demux with parameters of type IoBuffer
 MessageDecoderResult MessageDecoder.decodable(IoSession session, IoBuffer in)
          Checks the specified buffer is decodable by this decoder.
 MessageDecoderResult MessageDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
          Decodes binary or protocol-specific content into higher-level message objects.
protected  boolean DemuxingProtocolDecoder.doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec.netty
 

Methods in org.apache.mina.filter.codec.netty with parameters of type IoBuffer
 void NettyDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec.prefixedstring
 

Methods in org.apache.mina.filter.codec.prefixedstring with parameters of type IoBuffer
protected  boolean PrefixedStringDecoder.doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec.serialization
 

Methods in org.apache.mina.filter.codec.serialization with parameters of type IoBuffer
protected  boolean ObjectSerializationDecoder.doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec.statemachine
 

Methods in org.apache.mina.filter.codec.statemachine with parameters of type IoBuffer
 DecodingState FixedLengthDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState DecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState ShortIntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState ConsumeToCrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState DecodingStateMachine.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState CrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState IntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState ConsumeToDynamicTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState ConsumeToTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState SingleByteDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState SkippingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState ConsumeToEndOfSessionDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 void DecodingStateProtocolDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
protected abstract  DecodingState FixedLengthDecodingState.finishDecode(IoBuffer readData, ProtocolDecoderOutput out)
           
protected abstract  DecodingState ConsumeToCrLfDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
           
protected abstract  DecodingState ConsumeToDynamicTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
           
protected abstract  DecodingState ConsumeToTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
           
protected abstract  DecodingState ConsumeToEndOfSessionDecodingState.finishDecode(IoBuffer readData, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.filter.codec.textline
 

Methods in org.apache.mina.filter.codec.textline with parameters of type IoBuffer
 void TextLineDecoder.decode(IoSession session, IoBuffer in, ProtocolDecoderOutput out)
           
 

Uses of IoBuffer in org.apache.mina.transport.socket.apr
 

Methods in org.apache.mina.transport.socket.apr with parameters of type IoBuffer
protected  int AprIoProcessor.read(org.apache.mina.transport.socket.apr.AprSession session, IoBuffer buffer)
           
protected  int AprIoProcessor.write(org.apache.mina.transport.socket.apr.AprSession session, IoBuffer buf, int length)
           
 

Uses of IoBuffer in org.apache.mina.transport.socket.nio
 

Methods in org.apache.mina.transport.socket.nio with parameters of type IoBuffer
protected  int NioProcessor.read(org.apache.mina.transport.socket.nio.NioSession session, IoBuffer buf)
           
protected  SocketAddress NioDatagramAcceptor.receive(DatagramChannel handle, IoBuffer buffer)
           
protected  int NioDatagramAcceptor.send(org.apache.mina.transport.socket.nio.NioSession session, IoBuffer buffer, SocketAddress remoteAddress)
           
protected  int NioProcessor.write(org.apache.mina.transport.socket.nio.NioSession session, IoBuffer buf, int length)
           
 



Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.