org.smallmind.plumber.nio
Class SocketChannelWorker
java.lang.Object
org.smallmind.plumber.nio.SocketChannelWorker
- All Implemented Interfaces:
- Runnable
public abstract class SocketChannelWorker
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketChannelWorker
public SocketChannelWorker(Logger logger,
ServerSocketChannelHerald herald)
setChannel
public void setChannel(ServerSocketChannel readyChannel)
socketChannelWork
public abstract void socketChannelWork(SocketChannel socketChannel)
throws Exception
- Throws:
Exception
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2012. All Rights Reserved.