Class ControllerThreadSocketFactory.SocketTask

java.lang.Object
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    Perform the logic.
    void
    run()
    Execute the logic in this object and keep track of any exceptions.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SocketTask

      public SocketTask()
  • Method Details

    • 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