|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventHandler<T extends IHandle>
Handles readiness events managed by a IDispatcher
Method Summary | |
---|---|
void |
onDispatcherCloseEvent(T handle)
callback method for a dispatcher close event |
void |
onHandleReadableEvent(T handle)
callback method for a handle readable event |
void |
onHandleRegisterEvent(T handle)
callback method for the handle registered event |
void |
onHandleWriteableEvent(T handle)
callback nmethod for a handle writeable event |
Method Detail |
---|
void onHandleRegisterEvent(T handle) throws java.io.IOException
handle
- the assoiated handle
java.io.IOException
- If some I/O error occursvoid onHandleReadableEvent(T handle) throws java.io.IOException
handle
- the assoiated handle
java.io.IOException
- If some I/O error occursvoid onHandleWriteableEvent(T handle) throws java.io.IOException
handle
- the assoiated handle
java.io.IOException
- If some I/O error occursvoid onDispatcherCloseEvent(T handle)
handle
- the assoiated handle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |