|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
public abstract static class ControllerThreadSocketFactory.SocketTask
Helper class for wrapping socket based tasks.
| Constructor Summary | |
|---|---|
ControllerThreadSocketFactory.SocketTask()
|
|
| Method Summary | |
|---|---|
abstract void |
doit()
Perform the logic. |
protected Socket |
getSocket()
Return the socket. |
void |
run()
Execute the logic in this object and keep track of any exceptions. |
protected void |
setSocket(Socket newSocket)
Set the socket. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControllerThreadSocketFactory.SocketTask()
| Method Detail |
|---|
protected void setSocket(Socket newSocket)
newSocket - The new socket.protected Socket getSocket()
public abstract void doit()
throws IOException
IOException - If an IO problem occurspublic void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||