Class DatagramConnection

  • All Implemented Interfaces:
    Connection

    public class DatagramConnection
    extends java.lang.Object
    implements Connection
    • Field Detail

      • socket

        public java.net.DatagramSocket socket
    • Constructor Detail

      • DatagramConnection

        public DatagramConnection​(java.net.DatagramSocket socket,
                                  java.net.InetAddress address)
                           throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException