Class IoSessionEvent


  • public class IoSessionEvent
    extends java.lang.Object
    IoSessionEvent.java - Wrapper Class for enqueued events.
    Since:
    MINA 2.0.0-M3
    • Method Detail

      • deliverEvent

        public void deliverEvent()
        Delivers this event to the next filter.
      • deliverEvent

        private static void deliverEvent​(IoFilter.NextFilter nextFilter,
                                         IoSession session,
                                         IoSessionEventType type,
                                         IdleStatus status)
        Static method which effectively delivers the specified event to the next filter nextFilter on the session.
        Parameters:
        nextFilter - the next filter
        session - the session on which the event occured
        type - the event type
        status - the idle status should only be non null only if the event type is IoSessionEventType.IDLE
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getStatus

        public IdleStatus getStatus()
        Returns:
        the idle status of the event
      • getNextFilter

        public IoFilter.NextFilter getNextFilter()
        Returns:
        the next filter to which the event should be sent.
      • getSession

        public IoSession getSession()
        Returns:
        the session on which the event occurred.