Class PRUDPPacketReplyAnnounce

    • Field Detail

      • interval

        protected int interval
      • addresses

        protected int[] addresses
      • ports

        protected short[] ports
    • Constructor Detail

      • PRUDPPacketReplyAnnounce

        public PRUDPPacketReplyAnnounce​(int trans_id)
      • PRUDPPacketReplyAnnounce

        protected PRUDPPacketReplyAnnounce​(java.io.DataInputStream is,
                                           int trans_id)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setInterval

        public void setInterval​(int value)
      • getInterval

        public int getInterval()
      • setPeers

        public void setPeers​(int[] _addresses,
                             short[] _ports)
      • getAddresses

        public int[] getAddresses()
      • getPorts

        public short[] getPorts()
      • serialise

        public void serialise​(java.io.DataOutputStream os)
                       throws java.io.IOException
        Overrides:
        serialise in class PRUDPPacketReply
        Throws:
        java.io.IOException