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

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

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 ProtocolDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)
          Decodes binary or protocol-specific content into higher-level message objects.
 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).
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 ByteBuffers.
 

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)
           
 



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