DatagramTransport (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.crypto.tls

## Interface DatagramTransport

- All Known Implementing Classes:
    DTLSTransport, LoggingDatagramTransport, UDPTransport, UnreliableDatagramTransport

      public interface DatagramTransport

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `int` | `getReceiveLimit()`
    `int` | `getSendLimit()`
    `int` | `receive(byte[] buf, int off, int len, int waitMillis)`
    `void` | `send(byte[] buf, int off, int len)`

- - ### Method Detail

    - #### getReceiveLimit

          int getReceiveLimit()
                              throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getSendLimit

          int getSendLimit()
                           throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### receive

          int receive(byte[] buf,
                    int off,
                    int len,
                    int waitMillis)
                      throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### send

          void send(byte[] buf,
                  int off,
                  int len)
                    throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          void close()
                     throws java.io.IOException

      Throws:
        `java.io.IOException`