org.licas.call

## Class ClientConnectionBlock

- java.lang.Object
- - org.licas.call.ClientConnection
  - - org.licas.call.ClientConnectionBlock

-     public class ClientConnectionBlock
      extends ClientConnection

  This class manages the connection and thread to process a blocking http client request and reply. This uses the classical blocking model, with Data input and output streams.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientConnectionBlock()` Create a new instance of ClientConnectionBlock.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `execute(MethodInfo methodInfo)` Execute the http blocking client request in a new thread.

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

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

- - ### Constructor Detail

    - #### ClientConnectionBlock

          public ClientConnectionBlock()

      Create a new instance of ClientConnectionBlock.

  - ### Method Detail

    - #### execute

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

      Execute the http blocking client request in a new thread. This will send some data and then wait for a reply, parse the reply and return as an Object.
      Specified by:
        `execute` in class `ClientConnection`
      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.