Class IoSessionEvent

java.lang.Object
org.apache.mina.proxy.event.IoSessionEvent

public class IoSessionEvent extends Object
IoSessionEvent.java - Wrapper Class for enqueued events.
Since:
MINA 2.0.0-M3
  • Field Details

  • Constructor Details

  • Method Details

    • 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 String toString()
      Overrides:
      toString in class 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.
    • getType

      public IoSessionEventType getType()
      Returns:
      the event type that occurred.