Package net.dona.doip.client.transport

# Class DoipConnectionPool

java.lang.Object
net.dona.doip.client.transport.DoipConnectionPool

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DoipConnectionPool(int maxSize, TransportDoipClient client, ConnectionOptions connectionOptions)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DoipConnection`
  `get()`
  `void`
  `release(DoipConnection connection)`
  `void`
  `shutdown()`

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

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

- ## Constructor Details

  - ### DoipConnectionPool

    public DoipConnectionPool(int maxSize, TransportDoipClient client, ConnectionOptions connectionOptions)

- ## Method Details

  - ### release

    public void release(DoipConnection connection) throws InterruptedException
    Throws:
      `InterruptedException`

  - ### get

    public DoipConnection get() throws IOException
    Throws:
      `IOException`

  - ### shutdown

    public void shutdown()