public class IoEvent extends Object implements Runnable
| Constructor and Description |
|---|
IoEvent(IoEventType type,
IoSession session,
Object parameter)
Creates a new IoEvent
|
| Modifier and Type | Method and Description |
|---|---|
void |
fire()
Fire an event
|
Object |
getParameter() |
IoSession |
getSession() |
IoEventType |
getType() |
void |
run() |
String |
toString() |
public IoEvent(IoEventType type, IoSession session, Object parameter)
type - The type of event to createsession - The associated IoSessionparameter - The parameter to add to the eventpublic IoEventType getType()
public IoSession getSession()
public Object getParameter()
public void fire()
public String toString()
toString in class ObjectObject.toString()Copyright © 2004–2024 Apache MINA Project. All rights reserved.