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.examples.echoserver Echo server which demonstates low-level I/O layer and SSL support. 
org.apache.mina.examples.netcat NetCat client (Network + Unix cat command) which demonstates low-level I/O layer. 
org.apache.mina.examples.reverser Reverser server which reverses all text lines demonstating high-level protocol layer. 
org.apache.mina.examples.sumup.codec   
org.apache.mina.io Low-level protocol implementation layer (I/O layer). 
org.apache.mina.io.filter Basic IoHandlerFilter implementations. 
org.apache.mina.io.handler Useful IoHandler implementations. 
org.apache.mina.protocol High-level protocol implementation layer (Protocol layer). 
org.apache.mina.protocol.codec Useful ProtocolEncoder and ProtocolDecoder implementations. 
 

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
 ByteBuffer ByteBufferProxy.position(int newPosition)
           
 ByteBuffer ByteBufferProxy.limit(int newLimit)
           
 ByteBuffer ByteBufferProxy.mark()
           
 ByteBuffer ByteBufferProxy.reset()
           
 ByteBuffer ByteBufferProxy.clear()
           
 ByteBuffer ByteBufferProxy.flip()
           
 ByteBuffer ByteBufferProxy.rewind()
           
 ByteBuffer ByteBufferProxy.put(byte b)
           
 ByteBuffer ByteBufferProxy.put(int index, byte b)
           
 ByteBuffer ByteBufferProxy.get(byte[] dst, int offset, int length)
           
 ByteBuffer ByteBufferProxy.get(byte[] dst)
           
 ByteBuffer ByteBufferProxy.put(ByteBuffer src)
           
 ByteBuffer ByteBufferProxy.put(ByteBuffer src)
           
 ByteBuffer ByteBufferProxy.put(byte[] src, int offset, int length)
           
 ByteBuffer ByteBufferProxy.put(byte[] src)
           
 ByteBuffer ByteBufferProxy.compact()
           
 ByteBuffer ByteBufferProxy.order(ByteOrder bo)
           
 ByteBuffer ByteBufferProxy.putChar(char value)
           
 ByteBuffer ByteBufferProxy.putChar(int index, char value)
           
 ByteBuffer ByteBufferProxy.putShort(short value)
           
 ByteBuffer ByteBufferProxy.putShort(int index, short value)
           
 ByteBuffer ByteBufferProxy.putInt(int value)
           
 ByteBuffer ByteBufferProxy.putInt(int index, int value)
           
 ByteBuffer ByteBufferProxy.putLong(long value)
           
 ByteBuffer ByteBufferProxy.putLong(int index, long value)
           
 ByteBuffer ByteBufferProxy.putFloat(float value)
           
 ByteBuffer ByteBufferProxy.putFloat(int index, float value)
           
 ByteBuffer ByteBufferProxy.putDouble(double value)
           
 ByteBuffer ByteBufferProxy.putDouble(int index, double value)
           
 ByteBuffer ByteBufferProxy.putString(CharSequence in, int fieldSize, CharsetEncoder encoder)
           
 ByteBuffer ByteBufferProxy.putString(CharSequence in, CharsetEncoder encoder)
           
 ByteBuffer ByteBufferProxy.skip(int size)
           
 ByteBuffer ByteBufferProxy.fill(byte value, int size)
           
 ByteBuffer ByteBufferProxy.fillAndReset(byte value, int size)
           
 ByteBuffer ByteBufferProxy.fill(int size)
           
 ByteBuffer ByteBufferProxy.fillAndReset(int size)
           
 ByteBuffer ByteBufferProxy.setAutoExpand(boolean autoExpand)
           
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.
static ByteBuffer ByteBuffer.wrap(ByteBuffer nioBuffer)
          Wraps the specified NIO ByteBuffer into MINA buffer.
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.
abstract  ByteBuffer ByteBuffer.setAutoExpand(boolean autoExpand)
          Turns on or off autoExpand.
abstract  ByteBuffer ByteBuffer.position(int newPosition)
           
abstract  ByteBuffer ByteBuffer.limit(int newLimit)
           
abstract  ByteBuffer ByteBuffer.mark()
           
abstract  ByteBuffer ByteBuffer.reset()
           
abstract  ByteBuffer ByteBuffer.clear()
           
abstract  ByteBuffer ByteBuffer.flip()
           
abstract  ByteBuffer ByteBuffer.rewind()
           
abstract  ByteBuffer ByteBuffer.put(byte b)
           
abstract  ByteBuffer ByteBuffer.put(int index, byte b)
           
abstract  ByteBuffer ByteBuffer.get(byte[] dst, int offset, int length)
           
abstract  ByteBuffer ByteBuffer.get(byte[] dst)
           
abstract  ByteBuffer ByteBuffer.put(ByteBuffer src)
           
abstract  ByteBuffer ByteBuffer.put(ByteBuffer src)
           
abstract  ByteBuffer ByteBuffer.put(byte[] src, int offset, int length)
           
abstract  ByteBuffer ByteBuffer.put(byte[] src)
           
abstract  ByteBuffer ByteBuffer.compact()
           
abstract  ByteBuffer ByteBuffer.order(ByteOrder bo)
           
abstract  ByteBuffer ByteBuffer.putChar(char value)
           
abstract  ByteBuffer ByteBuffer.putChar(int index, char value)
           
abstract  ByteBuffer ByteBuffer.putShort(short value)
           
abstract  ByteBuffer ByteBuffer.putShort(int index, short value)
           
abstract  ByteBuffer ByteBuffer.putInt(int value)
           
abstract  ByteBuffer ByteBuffer.putInt(int index, int value)
           
abstract  ByteBuffer ByteBuffer.putLong(long value)
           
abstract  ByteBuffer ByteBuffer.putLong(int index, long value)
           
abstract  ByteBuffer ByteBuffer.putFloat(float value)
           
abstract  ByteBuffer ByteBuffer.putFloat(int index, float value)
           
abstract  ByteBuffer ByteBuffer.putDouble(double value)
           
abstract  ByteBuffer ByteBuffer.putDouble(int index, double value)
           
abstract  ByteBuffer ByteBuffer.putString(CharSequence in, CharsetEncoder encoder)
          Writes the content of in into this buffer using the specified encoder.
abstract  ByteBuffer ByteBuffer.putString(CharSequence in, int fieldSize, CharsetEncoder encoder)
          Writes the content of in into this buffer as a NUL-terminated string using the specified encoder.
abstract  ByteBuffer ByteBuffer.skip(int size)
          Forwards the position of this buffer as the specified size bytes.
abstract  ByteBuffer ByteBuffer.fill(byte value, int size)
          Fills this buffer with the specified value.
abstract  ByteBuffer ByteBuffer.fillAndReset(byte value, int size)
          Fills this buffer with the specified value.
abstract  ByteBuffer ByteBuffer.fill(int size)
          Fills this buffer with NUL (0x00).
abstract  ByteBuffer ByteBuffer.fillAndReset(int size)
          Fills this buffer with NUL (0x00).
 

Methods in org.apache.mina.common with parameters of type ByteBuffer
 ByteBuffer ByteBufferProxy.put(ByteBuffer src)
           
 int ByteBufferProxy.compareTo(ByteBuffer that)
           
abstract  ByteBuffer ByteBuffer.put(ByteBuffer src)
           
abstract  int ByteBuffer.compareTo(ByteBuffer that)
           
 

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.examples.echoserver
 

Methods in org.apache.mina.examples.echoserver with parameters of type ByteBuffer
 void EchoProtocolHandler.dataRead(IoSession session, ByteBuffer rb)
           
 

Uses of ByteBuffer in org.apache.mina.examples.netcat
 

Methods in org.apache.mina.examples.netcat with parameters of type ByteBuffer
 void NetCatProtocolHandler.dataRead(IoSession session, ByteBuffer buf)
           
 

Uses of ByteBuffer in org.apache.mina.examples.reverser
 

Methods in org.apache.mina.examples.reverser with parameters of type ByteBuffer
 void TextLineDecoder.decode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
           
 

Uses of ByteBuffer in org.apache.mina.examples.sumup.codec
 

Methods in org.apache.mina.examples.sumup.codec with parameters of type ByteBuffer
protected abstract  void AbstractMessageEncoder.encodeBody(ProtocolSession session, AbstractMessage message, ByteBuffer out)
           
protected  AbstractMessage AddMessageDecoder.decodeBody(ProtocolSession session, ByteBuffer in)
           
protected  void AddMessageEncoder.encodeBody(ProtocolSession session, AbstractMessage message, ByteBuffer out)
           
 MessageDecoderResult AbstractMessageDecoder.decodable(ProtocolSession session, ByteBuffer in)
           
 MessageDecoderResult AbstractMessageDecoder.decode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
           
protected abstract  AbstractMessage AbstractMessageDecoder.decodeBody(ProtocolSession session, ByteBuffer in)
           
protected  AbstractMessage ResultMessageDecoder.decodeBody(ProtocolSession session, ByteBuffer in)
           
protected  void ResultMessageEncoder.encodeBody(ProtocolSession session, AbstractMessage message, ByteBuffer out)
           
 

Uses of ByteBuffer in org.apache.mina.io
 

Methods in org.apache.mina.io with parameters of type ByteBuffer
 void IoHandlerAdapter.dataRead(IoSession session, ByteBuffer buf)
           
protected  void IoSessionFilterChain.doWrite(IoSession session, ByteBuffer buf, Object marker)
           
 void IoSession.write(ByteBuffer buf, Object marker)
          Writes the content of the specified buf.
 void IoFilter.dataRead(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf)
          Filters IoHandler.dataRead(IoSession, ByteBuffer) event.
 void IoFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf, Object marker)
          Filters IoSession.write(ByteBuffer, Object) method invocation.
 void IoFilter.NextFilter.dataRead(IoSession session, ByteBuffer buf)
           
 void IoFilter.NextFilter.filterWrite(IoSession session, ByteBuffer buf, Object marker)
           
 void AbstractIoFilterChain.dataRead(IoSession session, ByteBuffer buf)
           
 void AbstractIoFilterChain.filterWrite(IoSession session, ByteBuffer buf, Object marker)
           
protected abstract  void AbstractIoFilterChain.doWrite(IoSession session, ByteBuffer buffer, Object marker)
           
 void IoFilterAdapter.dataRead(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf)
           
 void IoFilterAdapter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf, Object marker)
           
 void IoHandler.dataRead(IoSession session, ByteBuffer buf)
          Invoked when data is read from the connection.
 

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

Methods in org.apache.mina.io.filter with parameters of type ByteBuffer
 void IoLoggingFilter.dataRead(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf)
           
 void IoLoggingFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf, Object marker)
           
 void IoThreadPoolFilter.dataRead(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf)
           
 void IoThreadPoolFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf, Object marker)
           
 void BlacklistFilter.dataRead(IoFilter.NextFilter nextFilter, IoSession session, ByteBuffer buf)
          Forwards event if and if only the remote address of session is not blacklisted.
 

Uses of ByteBuffer in org.apache.mina.io.handler
 

Methods in org.apache.mina.io.handler with parameters of type ByteBuffer
 void StreamIoHandler.dataRead(IoSession session, ByteBuffer buf)
          Forwards read data to input stream.
 

Uses of ByteBuffer in org.apache.mina.protocol
 

Methods in org.apache.mina.protocol with parameters of type ByteBuffer
 void SimpleProtocolEncoderOutput.write(ByteBuffer buf)
           
 void ProtocolEncoderOutput.write(ByteBuffer buf)
          Callback for ProtocolEncoder to generate encoded ByteBuffers.
 void ProtocolDecoder.decode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
          Decodes binary or protocol-specific content into higher-level message objects.
 

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

Methods in org.apache.mina.protocol.codec with parameters of type ByteBuffer
 MessageDecoderResult MessageDecoder.decodable(ProtocolSession session, ByteBuffer in)
          Checks the specified buffer is decodable by this decoder.
 MessageDecoderResult MessageDecoder.decode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
          Decodes binary or protocol-specific content into higher-level message objects.
 void CumulativeProtocolDecoder.decode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
          Cumulates content of in into internal buffer and forwards decoding request to CumulativeProtocolDecoder.doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput).
protected abstract  boolean CumulativeProtocolDecoder.doDecode(ProtocolSession session, ByteBuffer in, ProtocolDecoderOutput out)
          Implement this method to consume the specified cumulative buffer and decode its content into message(s).
 



Copyright © 2004-2007 . All Rights Reserved.