Class StreamIoHandler

java.lang.Object
org.apache.mina.common.IoHandlerAdapter
org.apache.mina.handler.StreamIoHandler
All Implemented Interfaces:
IoHandler

public abstract class StreamIoHandler extends IoHandlerAdapter
A IoHandler that adapts asynchronous MINA events to stream I/O.

Please extend this class and implement processStreamIo(IoSession, InputStream, OutputStream) to execute your stream I/O logic; please note that you must forward the process request to other thread or thread pool.

  • Constructor Details

    • StreamIoHandler

      protected StreamIoHandler()
  • Method Details