Interface DatagramReceiver

All Known Subinterfaces:
DatagramTransport
All Known Implementing Classes:
DTLSTransport, UDPTransport

public interface DatagramReceiver
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
    receive(byte[] buf, int off, int len, int waitMillis)
    A waitMillis of zero is interpreted as an infinite timeout.
  • Method Details

    • getReceiveLimit

      int getReceiveLimit() throws IOException
      Throws:
      IOException
    • receive

      int receive(byte[] buf, int off, int len, int waitMillis) throws IOException
      A waitMillis of zero is interpreted as an infinite timeout.
      Throws:
      IOException