org.licas.call.client

## Class Direct_MethodHandler

- java.lang.Object
- - org.licas.call.client.Direct_MethodHandler

- All Implemented Interfaces:
    RemoteCallDef

      public final class Direct_MethodHandler
      extends java.lang.Object
      implements RemoteCallDef

  This makes a direct invocation on the object itself.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Direct_MethodHandler()` Creates a new instance of Direct_MethodHandler.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `execute(MethodInfo methodInfo)` Execute a remote call.
    `java.lang.String` | `getCallType()` Get the value indicating the type of remote call.

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

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

- - ### Constructor Detail

    - #### Direct_MethodHandler

          public Direct_MethodHandler()

      Creates a new instance of Direct_MethodHandler.

  - ### Method Detail

    - #### execute

          public java.lang.Object execute(MethodInfo methodInfo)
                                   throws java.lang.Exception

      Execute a remote call.
      Specified by:
        `execute` in interface `RemoteCallDef`
      Parameters:
        `methodInfo` - the method call description with all of the required information.
      Returns:
        Object the reply to the call.
      Throws:
        `java.lang.Exception` - any error.

    - #### getCallType

          public java.lang.String getCallType()

      Get the value indicating the type of remote call.
      Specified by:
        `getCallType` in interface `RemoteCallDef`
      Returns:
        the value of callType.