Interface SingleSessionIoHandler

All Known Implementing Classes:
SingleSessionIoHandlerAdapter

@Deprecated public interface SingleSessionIoHandler
Deprecated.
This class is not to be used anymore
A session handler without an IoSession parameter for simplicity.

A SingleSessionIoHandler is similar to an IoHandler with the notable difference that a SingleSessionIoHandler is used only by one session at a time. Thus, there is no IoSession parameter in the methods of this interface.

Because events are passed to the session in order, it is possible to store conversational state as instance variables in this object.

WARNING: This class is badly named as the actual IoHandler implementor is in fact the SingleSessionIoHandlerDelegate.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Invoked when a filter event is fired.
    void
    Deprecated.
    Invoked when any exception is thrown by user IoHandler implementation or by MINA.
    void
    Deprecated.
    Invoked when a half-duplex connection is closed
    void
    Deprecated.
    Invoked when protocol message is received.
    void
    Deprecated.
    Invoked when protocol message that user requested by IoSession.write(Object) is sent out actually.
    void
    Deprecated.
    Invoked when the connection is closed.
    void
    Deprecated.
    Invoked when the session is created.
    void
    Deprecated.
    Invoked when the connection is idle.
    void
    Deprecated.
    Invoked when the connection is opened.
  • Method Details