Class SimpleUDPServer.SimpleServerExchange

    • Method Detail

      • processRequest

        public boolean processRequest​(java.net.DatagramSocket socket)
                               throws java.io.IOException
        Specified by:
        processRequest in interface SimpleUDPServer.Exchange
        Throws:
        java.io.IOException
      • sendReply

        public boolean sendReply​(java.net.DatagramSocket socket)
                          throws java.io.IOException
        Specified by:
        sendReply in interface SimpleUDPServer.Exchange
        Throws:
        java.io.IOException
      • setResponsePort

        public void setResponsePort​(int responsePort)
      • getResponsePort

        public int getResponsePort()
      • setResponseAddress

        public void setResponseAddress​(java.net.InetAddress responseAddress)
      • getResponseAddress

        public java.net.InetAddress getResponseAddress()