Class ControllerThreadSocketFactory.SocketTask
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ControllerThreadSocketFactory
public abstract static class ControllerThreadSocketFactory.SocketTask
extends Object
implements Runnable
Helper class for wrapping socket based tasks.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SocketTask
public SocketTask()
-
-
Method Details
-
setSocket
Set the socket.- Parameters:
newSocket
- The new socket.
-
getSocket
Return the socket.- Returns:
- Socket The socket.
-
doit
Perform the logic.- Throws:
IOException
- If an IO problem occurs
-
run
public void run()Execute the logic in this object and keep track of any exceptions.
-