Package net.dona.doip.client

## Class ConnectionAndPool

- java.lang.Object
- - net.dona.doip.client.ConnectionAndPool

-     public class ConnectionAndPool
      extends java.lang.Object

  Used internally by `DoipClient` to manage pools of connections.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConnectionAndPool​(DoipConnectionPool pool)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DoipConnection` | `getConnection()` |
    `void` | `releaseConnection()` |

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

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

- - ### Constructor Detail

    - #### ConnectionAndPool

          public ConnectionAndPool​(DoipConnectionPool pool)

  - ### Method Detail

    - #### releaseConnection

          public void releaseConnection()
                                 throws java.lang.InterruptedException

      Throws:
        `java.lang.InterruptedException`

    - #### getConnection

          public DoipConnection getConnection()