|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.gleamynode.netty2.Event
Represents an event that is passed among I/O controller, I/O processor, and event dispatchers.
Constructor Summary | |
Event(EventType type,
Session session,
Object item)
Creates a new instance. |
Method Summary | |
Object |
getItem()
Returns additional object related with this event ( Message ,
Exception , or null if none). |
Session |
getSession()
Returns the session which is related with this event. |
EventType |
getType()
Returns the type of the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Event(EventType type, Session session, Object item)
type
- the type of the eventsession
- the session which is related with this eventitem
- additional object related with this event (Message
,
Exception
, or null
if none)Method Detail |
public EventType getType()
public Session getSession()
public Object getItem()
Message
,
Exception
, or null
if none).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |