Class ControllerThreadSocketFactory.SocketTask

    • Constructor Detail

      • SocketTask

        public SocketTask()
    • Method Detail

      • 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