Package net.dona.doip.client

# Class ConnectionAndPool

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

public class ConnectionAndPool extends Object
Used internally by `DoipClient` to manage pools of connections.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConnectionAndPool(DoipConnectionPool pool)`

- ## Method Summary

  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 Details

  - ### ConnectionAndPool

    public ConnectionAndPool(DoipConnectionPool pool) throws DoipException
    Throws:
      `DoipException`

- ## Method Details

  - ### releaseConnection

    public void releaseConnection() throws InterruptedException
    Throws:
      `InterruptedException`

  - ### getConnection

    public DoipConnection getConnection()