Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.mina.common.ByteBuffer

Packages that use ByteBuffer
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.serialization | Protocol codecs which uses Java object serilization and leads to rapid protocol implementation.
org.apache.mina.filter.codec.textline | A protocol codec for text-based protocols.

Uses of ByteBuffer in org.apache.mina.common

Subclasses of ByteBuffer in org.apache.mina.common
`class` | `ByteBufferProxy` A `ByteBuffer` that wraps a buffer and proxies any operations to it.

Fields in org.apache.mina.common declared as ByteBuffer
`protected ByteBuffer` | `ByteBufferProxy.buf` The buffer proxied by this proxy.

Methods in org.apache.mina.common that return ByteBuffer
`static ByteBuffer` | `ByteBuffer.allocate(int capacity)` Returns the direct or heap buffer which is capable of the specified size.
`ByteBuffer` | `SimpleByteBufferAllocator.allocate(int capacity, boolean direct)`
`ByteBuffer` | `ByteBufferAllocator.allocate(int capacity, boolean direct)` Returns the buffer which is capable of the specified size.
`ByteBuffer` | `PooledByteBufferAllocator.allocate(int capacity, boolean direct)`
`static ByteBuffer` | `ByteBuffer.allocate(int capacity, boolean direct)` Returns the buffer which is capable of the specified size.
`ByteBuffer` | `ByteBufferProxy.asReadOnlyBuffer()`
`abstract ByteBuffer` | `ByteBuffer.asReadOnlyBuffer()`
`protected ByteBuffer` | `ByteBuffer.autoExpand(int expectedRemaining)` This method forwards the call to `expand(int)` only when `autoExpand` property is `true`.
`protected ByteBuffer` | `ByteBuffer.autoExpand(int pos, int expectedRemaining)` This method forwards the call to `expand(int)` only when `autoExpand` property is `true`.
`ByteBuffer` | `ByteBufferProxy.capacity(int newCapacity)`
`abstract ByteBuffer` | `ByteBuffer.capacity(int newCapacity)` Changes the capacity of this buffer.
`ByteBuffer` | `ByteBufferProxy.clear()`
`abstract ByteBuffer` | `ByteBuffer.clear()`
`ByteBuffer` | `ByteBufferProxy.compact()`
`abstract ByteBuffer` | `ByteBuffer.compact()`
`ByteBuffer` | `ByteBufferProxy.duplicate()`
`abstract ByteBuffer` | `ByteBuffer.duplicate()`
`ByteBuffer` | `ByteBufferProxy.expand(int expectedRemaining)`
`ByteBuffer` | `ByteBuffer.expand(int expectedRemaining)` Changes the capacity and limit of this buffer so this buffer get the specified `expectedRemaining` room from the current position.
`ByteBuffer` | `ByteBufferProxy.expand(int pos, int expectedRemaining)`
`abstract ByteBuffer` | `ByteBuffer.expand(int pos, int expectedRemaining)` Changes the capacity and limit of this buffer so this buffer get the specified `expectedRemaining` room from the specified `pos`.
`ByteBuffer` | `ByteBufferProxy.fill(byte value, int size)`
`ByteBuffer` | `ByteBuffer.fill(byte value, int size)` Fills this buffer with the specified value.
`ByteBuffer` | `ByteBufferProxy.fill(int size)`
`ByteBuffer` | `ByteBuffer.fill(int size)` Fills this buffer with `NUL (0x00)`.
`ByteBuffer` | `ByteBufferProxy.fillAndReset(byte value, int size)`
`ByteBuffer` | `ByteBuffer.fillAndReset(byte value, int size)` Fills this buffer with the specified value.
`ByteBuffer` | `ByteBufferProxy.fillAndReset(int size)`
`ByteBuffer` | `ByteBuffer.fillAndReset(int size)` Fills this buffer with `NUL (0x00)`.
`ByteBuffer` | `ByteBufferProxy.flip()`
`abstract ByteBuffer` | `ByteBuffer.flip()`
`ByteBuffer` | `ByteBufferProxy.get(byte[] dst)`
`ByteBuffer` | `ByteBuffer.get(byte[] dst)`
`ByteBuffer` | `ByteBufferProxy.get(byte[] dst, int offset, int length)`
`abstract ByteBuffer` | `ByteBuffer.get(byte[] dst, int offset, int length)`
`ByteBuffer` | `ByteBufferProxy.limit(int newLimit)`
`abstract ByteBuffer` | `ByteBuffer.limit(int newLimit)`
`ByteBuffer` | `ByteBufferProxy.mark()`
`abstract ByteBuffer` | `ByteBuffer.mark()`
`ByteBuffer` | `ByteBufferProxy.order(ByteOrder bo)`
`abstract ByteBuffer` | `ByteBuffer.order(ByteOrder bo)`
`ByteBuffer` | `ByteBufferProxy.position(int newPosition)`
`abstract ByteBuffer` | `ByteBuffer.position(int newPosition)`
`ByteBuffer` | `ByteBufferProxy.put(byte b)`
`abstract ByteBuffer` | `ByteBuffer.put(byte b)`
`ByteBuffer` | `ByteBufferProxy.put(byte[] src)`
`ByteBuffer` | `ByteBuffer.put(byte[] src)`
`ByteBuffer` | `ByteBufferProxy.put(byte[] src, int offset, int length)`
`abstract ByteBuffer` | `ByteBuffer.put(byte[] src, int offset, int length)`
`ByteBuffer` | `ByteBufferProxy.put(ByteBuffer src)`
`ByteBuffer` | `ByteBufferProxy.put(ByteBuffer src)`
`abstract ByteBuffer` | `ByteBuffer.put(ByteBuffer src)` Writes the content of the specified `src` into this buffer.
`ByteBuffer` | `ByteBuffer.put(ByteBuffer src)` Writes the content of the specified `src` into this buffer.
`ByteBuffer` | `ByteBufferProxy.put(int index, byte b)`
`abstract ByteBuffer` | `ByteBuffer.put(int index, byte b)`
`ByteBuffer` | `ByteBufferProxy.putChar(char value)`
`abstract ByteBuffer` | `ByteBuffer.putChar(char value)`
`ByteBuffer` | `ByteBufferProxy.putChar(int index, char value)`
`abstract ByteBuffer` | `ByteBuffer.putChar(int index, char value)`
`ByteBuffer` | `ByteBufferProxy.putDouble(double value)`
`abstract ByteBuffer` | `ByteBuffer.putDouble(double value)`
`ByteBuffer` | `ByteBufferProxy.putDouble(int index, double value)`
`abstract ByteBuffer` | `ByteBuffer.putDouble(int index, double value)`
`ByteBuffer` | `ByteBufferProxy.putFloat(float value)`
`abstract ByteBuffer` | `ByteBuffer.putFloat(float value)`
`ByteBuffer` | `ByteBufferProxy.putFloat(int index, float value)`
`abstract ByteBuffer` | `ByteBuffer.putFloat(int index, float value)`
`ByteBuffer` | `ByteBufferProxy.putInt(int value)`
`abstract ByteBuffer` | `ByteBuffer.putInt(int value)`
`ByteBuffer` | `ByteBufferProxy.putInt(int index, int value)`
`abstract ByteBuffer` | `ByteBuffer.putInt(int index, int value)`
`ByteBuffer` | `ByteBufferProxy.putLong(int index, long value)`
`abstract ByteBuffer` | `ByteBuffer.putLong(int index, long value)`
`ByteBuffer` | `ByteBufferProxy.putLong(long value)`
`abstract ByteBuffer` | `ByteBuffer.putLong(long value)`
`ByteBuffer` | `ByteBufferProxy.putObject(Object o)`
`ByteBuffer` | `ByteBuffer.putObject(Object o)` Writes the specified Java object to the buffer.
`ByteBuffer` | `ByteBufferProxy.putPrefixedString(CharSequence in, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.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`.
`ByteBuffer` | `ByteBufferProxy.putPrefixedString(CharSequence in, int prefixLength, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.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`.
`ByteBuffer` | `ByteBufferProxy.putPrefixedString(CharSequence in, int prefixLength, int padding, byte padValue, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.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`.
`ByteBuffer` | `ByteBufferProxy.putPrefixedString(CharSequence in, int prefixLength, int padding, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.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`.
`ByteBuffer` | `ByteBufferProxy.putShort(int index, short value)`
`abstract ByteBuffer` | `ByteBuffer.putShort(int index, short value)`
`ByteBuffer` | `ByteBufferProxy.putShort(short value)`
`abstract ByteBuffer` | `ByteBuffer.putShort(short value)`
`ByteBuffer` | `ByteBufferProxy.putString(CharSequence in, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.putString(CharSequence val, CharsetEncoder encoder)` Writes the content of `in` into this buffer using the specified `encoder`.
`ByteBuffer` | `ByteBufferProxy.putString(CharSequence in, int fieldSize, CharsetEncoder encoder)`
`ByteBuffer` | `ByteBuffer.putString(CharSequence val, int fieldSize, CharsetEncoder encoder)` Writes the content of `in` into this buffer as a `NUL`-terminated string using the specified `encoder`.
`ByteBuffer` | `ByteBufferProxy.reset()`
`abstract ByteBuffer` | `ByteBuffer.reset()`
`ByteBuffer` | `ByteBufferProxy.rewind()`
`abstract ByteBuffer` | `ByteBuffer.rewind()`
`ByteBuffer` | `ByteBufferProxy.setAutoExpand(boolean autoExpand)`
`abstract ByteBuffer` | `ByteBuffer.setAutoExpand(boolean autoExpand)` Turns on or off `autoExpand`.
`ByteBuffer` | `ByteBufferProxy.skip(int size)`
`ByteBuffer` | `ByteBuffer.skip(int size)` Forwards the position of this buffer as the specified `size` bytes.
`ByteBuffer` | `ByteBufferProxy.slice()`
`abstract ByteBuffer` | `ByteBuffer.slice()`
`ByteBuffer` | `ByteBufferProxy.sweep()`
`ByteBuffer` | `ByteBuffer.sweep()` Clears this buffer and fills its content with `NUL`.
`ByteBuffer` | `ByteBufferProxy.sweep(byte value)`
`ByteBuffer` | `ByteBuffer.sweep(byte value)` Clears this buffer and fills its content with `value`.
`static ByteBuffer` | `ByteBuffer.wrap(byte[] byteArray)` Wraps the specified byte array into MINA heap buffer.
`static ByteBuffer` | `ByteBuffer.wrap(byte[] byteArray, int offset, int length)` Wraps the specified byte array into MINA heap buffer.
`ByteBuffer` | `SimpleByteBufferAllocator.wrap(ByteBuffer nioBuffer)`
`ByteBuffer` | `ByteBufferAllocator.wrap(ByteBuffer nioBuffer)` Wraps the specified NIO `ByteBuffer` into MINA buffer.
`ByteBuffer` | `PooledByteBufferAllocator.wrap(ByteBuffer nioBuffer)`
`static ByteBuffer` | `ByteBuffer.wrap(ByteBuffer nioBuffer)` Wraps the specified NIO `ByteBuffer` into MINA buffer.

Methods in org.apache.mina.common with parameters of type ByteBuffer
`int` | `ByteBufferProxy.compareTo(ByteBuffer that)`
`int` | `ByteBuffer.compareTo(ByteBuffer that)`
`ByteBuffer` | `ByteBufferProxy.put(ByteBuffer src)`
`ByteBuffer` | `ByteBuffer.put(ByteBuffer src)` Writes the content of the specified `src` into this buffer.

Constructors in org.apache.mina.common with parameters of type ByteBuffer
`ByteBufferProxy(ByteBuffer buf)` Create a new instance.

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

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

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

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

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

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

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

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

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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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