org.smallmind.plumber.io
Class SocketWorker
java.lang.Object
org.smallmind.plumber.io.SocketWorker
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- RecordingSocketWorker
public abstract class SocketWorker
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketWorker
public SocketWorker(Logger logger,
ServerSocketHerald herald)
setSocket
public void setSocket(Socket socket)
socketWork
public abstract void socketWork(Socket socket)
throws Exception
- Throws:
Exception
run
public void run()
- Specified by:
run in interface Runnable
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.