|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.proxy.event.IoSessionEvent
public class IoSessionEvent
IoSessionEvent.java - Wrapper Class for enqueued events.
| Constructor Summary | |
|---|---|
IoSessionEvent(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Creates an instance of this class when event type is IoSessionEventType.IDLE. |
|
IoSessionEvent(IoFilter.NextFilter nextFilter,
IoSession session,
IoSessionEventType type)
Creates an instance of this class when event type differs from IoSessionEventType.IDLE. |
|
| Method Summary | |
|---|---|
void |
deliverEvent()
Delivers this event to the next filter. |
IoFilter.NextFilter |
getNextFilter()
Returns the next filter to which the event should be sent. |
IoSession |
getSession()
Returns the session on which the event occured. |
IdleStatus |
getStatus()
Returns the idle status of the event. |
IoSessionEventType |
getType()
Returns the event type that occured. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IoSessionEvent(IoFilter.NextFilter nextFilter,
IoSession session,
IoSessionEventType type)
IoSessionEventType.IDLE.
nextFilter - the next filtersession - the sessiontype - the event type
public IoSessionEvent(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
IoSessionEventType.IDLE.
nextFilter - the next filtersession - the sessionstatus - the idle status| Method Detail |
|---|
public void deliverEvent()
public String toString()
toString in class Objectpublic IdleStatus getStatus()
public IoFilter.NextFilter getNextFilter()
public IoSession getSession()
public IoSessionEventType getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||