Class ControllerThreadSocketFactory.SocketTask

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ControllerThreadSocketFactory

    public abstract static class ControllerThreadSocketFactory.SocketTask
    extends java.lang.Object
    implements java.lang.Runnable
    Helper class for wrapping socket based tasks.
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketTask()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void doit()
      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 Detail

      • SocketTask

        public SocketTask()
    • Method Detail

      • doit

        public abstract void doit()
                           throws java.io.IOException
        Perform the logic.
        Throws:
        java.io.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 java.lang.Runnable