Package net.dona.doip.client.transport

## Class DoipConnectionPool

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

-     public class DoipConnectionPool
      extends java.lang.Object

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### DoipConnectionPool

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

  - ### Method Detail

    - #### release

          public void release​(DoipConnection connection)
                       throws java.lang.InterruptedException

      Throws:
        `java.lang.InterruptedException`

    - #### get

          public DoipConnection get()

    - #### shutdown

          public void shutdown()