java.lang.Runnablepublic abstract static class ControllerThreadSocketFactory.SocketTask
extends java.lang.Object
implements java.lang.Runnable
| Constructor | Description |
|---|---|
SocketTask() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
doit() |
Perform the logic.
|
protected java.net.Socket |
getSocket() |
Return the socket.
|
void |
run() |
Execute the logic in this object and keep track of any exceptions.
|
protected void |
setSocket(java.net.Socket newSocket) |
Set the socket.
|
protected void setSocket(java.net.Socket newSocket)
newSocket - The new socket.protected java.net.Socket getSocket()
public abstract void doit()
throws java.io.IOException
java.io.IOException - If an IO problem occurspublic void run()
run in interface java.lang.RunnableCopyright (c) 1999-2005 - Apache Software Foundation