public interface Event
IoHandler
event to be submitted to an IoHandlerExecutor
.
Use the visitor pattern for implementing different behaviour for different events : visitor pattern"Modifier and Type | Method and Description |
---|---|
IoSession |
getSession()
The session of this event.
|
void |
visit(EventVisitor visitor)
Call the visitor method for this kind of event.
|
IoSession getSession()
void visit(EventVisitor visitor)
visitor
- the vistor to callCopyright © 2009–2013 Apache MINA Project. All rights reserved.