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 Details

    • SocketTask

      public SocketTask()
  • Method Details

    • setSocket

      protected void setSocket(Socket newSocket)
      Set the socket.
      Parameters:
      newSocket - The new socket.
    • getSocket

      protected Socket getSocket()
      Return the socket.
      Returns:
      Socket The socket.
    • doit

      public abstract void doit() throws IOException
      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.
      Specified by:
      run in interface Runnable