public class IoSessionEvent
extends java.lang.Object
构造器和说明 |
---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
void |
deliverEvent()
Delivers this event to the next filter.
|
IoFilter.NextFilter |
getNextFilter() |
IoSession |
getSession() |
IdleStatus |
getStatus() |
IoSessionEventType |
getType() |
java.lang.String |
toString() |
public IoSessionEvent(IoFilter.NextFilter nextFilter, IoSession session, IoSessionEventType type)
IoSessionEventType.IDLE
.nextFilter
- the next filtersession
- the sessiontype
- the event typepublic IoSessionEvent(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)
IoSessionEventType.IDLE
.nextFilter
- the next filtersession
- the sessionstatus
- the idle statuspublic void deliverEvent()
public java.lang.String toString()
toString
在类中 java.lang.Object
public IdleStatus getStatus()
public IoFilter.NextFilter getNextFilter()
public IoSession getSession()
public IoSessionEventType getType()