pyrasun.eio.handlers
Class EIOEventHandler
java.lang.Object
pyrasun.eio.handlers.EIOEventHandler
- Direct Known Subclasses:
- GenericHandler, ProcessHandler, ReadHandler, WriteHandler
- public abstract class EIOEventHandler
- extends java.lang.Object
Internal handler for a particular I/O type. This does the internal work required
for a given type and dispatches off to the application's EIOWorker.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EIOEventHandler
public EIOEventHandler(EIOEventDescriptor evd,
EIOWorker worker)
EIOEventHandler
public EIOEventHandler()
setEventDescriptor
public void setEventDescriptor(EIOEventDescriptor evd)
setWorker
public void setWorker(EIOWorker worker)
setIsDedicatedThread
public void setIsDedicatedThread(boolean isDedicatedThread)
isDedicatedThread
public boolean isDedicatedThread()
dispatch
public abstract void dispatch(ReadWriteEndpoint endpoint)
throws java.io.IOException
- Throws:
java.io.IOException
dispatch
public abstract void dispatch(Endpoint endpoint)
throws java.io.IOException
- Throws:
java.io.IOException
blockeroo
public final void blockeroo(Endpoint endpoint)
event
public EIOEvent event()
Pyrasun EmberIO