org.licas.call.thread

## Class CallThread

- java.lang.Object
- - org.licas.call.thread.CallThread

- All Implemented Interfaces:
    java.util.concurrent.Callable

      public final class CallThread
      extends java.lang.Object
      implements java.util.concurrent.Callable

  This class implements the `Callable` interface, to allow execution of the client method on an `Executor` thread pool.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CallThread(MethodInfo theMethodInfo)` Create a new instance of CallThread.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `call()` Class-defined call method.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CallThread

          public CallThread(MethodInfo theMethodInfo)

      Create a new instance of CallThread.
      Parameters:
        `theMethodInfo` - the method to execute.

  - ### Method Detail

    - #### call

          public java.lang.Object call()
                                throws java.lang.Exception

      Class-defined call method. This is invoked by the executor to execute the method.
      Specified by:
        `call` in interface `java.util.concurrent.Callable`
      Returns:
        the reply object.
      Throws:
        `java.lang.Exception` - any error.