Class UDPTransport

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static int MAX_IP_OVERHEAD
      Deprecated.
       
      protected static int MIN_IP_OVERHEAD
      Deprecated.
       
      protected int receiveLimit
      Deprecated.
       
      protected int sendLimit
      Deprecated.
       
      protected java.net.DatagramSocket socket
      Deprecated.
       
      protected static int UDP_OVERHEAD
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      UDPTransport​(java.net.DatagramSocket socket, int mtu)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
       
      int getReceiveLimit()
      Deprecated.
       
      int getSendLimit()
      Deprecated.
       
      int receive​(byte[] buf, int off, int len, int waitMillis)
      Deprecated.
       
      void send​(byte[] buf, int off, int len)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MIN_IP_OVERHEAD

        protected static final int MIN_IP_OVERHEAD
        Deprecated.
        See Also:
        Constant Field Values
      • MAX_IP_OVERHEAD

        protected static final int MAX_IP_OVERHEAD
        Deprecated.
        See Also:
        Constant Field Values
      • socket

        protected final java.net.DatagramSocket socket
        Deprecated.
      • receiveLimit

        protected final int receiveLimit
        Deprecated.
      • sendLimit

        protected final int sendLimit
        Deprecated.
    • Constructor Detail

      • UDPTransport

        public UDPTransport​(java.net.DatagramSocket socket,
                            int mtu)
                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • receive

        public int receive​(byte[] buf,
                           int off,
                           int len,
                           int waitMillis)
                    throws java.io.IOException
        Deprecated.
        Specified by:
        receive in interface DatagramTransport
        Throws:
        java.io.IOException
      • send

        public void send​(byte[] buf,
                         int off,
                         int len)
                  throws java.io.IOException
        Deprecated.
        Specified by:
        send in interface DatagramTransport
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Deprecated.
        Specified by:
        close in interface TlsCloseable
        Throws:
        java.io.IOException