rabbit.proxy
Class SelectorRunner
java.lang.Object
rabbit.proxy.SelectorRunner
- All Implemented Interfaces:
- Runnable
public class SelectorRunner
- extends Object
- implements Runnable
A class that handles a selector.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectorRunner
public SelectorRunner(TaskRunner tr,
Logger logger)
throws IOException
- Throws:
IOException
start
public void start()
stop
public void stop()
getSelector
public Selector getSelector()
runSelectorTask
public void runSelectorTask(Runnable r)
run
public void run()
- Specified by:
run
in interface Runnable