Class TaskInfo


  • public class TaskInfo
    extends java.lang.Object
    The task struct.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object action
      The action to perform.
      protected java.lang.Object result
      The result.
      protected java.lang.Thread thread
      The asking thread.
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskInfo​(java.lang.Object action)
      Create a new task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getAction()
      Get the action.
      java.lang.Object getResult()
      Get the result.
      java.lang.Thread getThread()
      Get the thread.
      void setResult​(java.lang.Object result)
      Set the result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • action

        protected java.lang.Object action
        The action to perform.
      • thread

        protected java.lang.Thread thread
        The asking thread.
      • result

        protected java.lang.Object result
        The result.
    • Constructor Detail

      • TaskInfo

        public TaskInfo​(java.lang.Object action)
        Create a new task.
    • Method Detail

      • getAction

        public java.lang.Object getAction()
        Get the action.
        Returns:
        The action.
      • getThread

        public java.lang.Thread getThread()
        Get the thread.
        Returns:
        The thread.
      • getResult

        public java.lang.Object getResult()
        Get the result.
        Returns:
        The result.
      • setResult

        public void setResult​(java.lang.Object result)
        Set the result.
        Parameters:
        result - The result.