Class UDPPacketReader.PeerTestReader

java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
net.i2p.router.transport.udp.UDPPacketReader.PeerTestReader
Enclosing class:
UDPPacketReader

public class UDPPacketReader.PeerTestReader
extends UDPPacketReader.Reader
Help read the PeerTest payload
  • Constructor Details

  • Method Details

    • readNonce

      public long readNonce()
    • readIPSize

      public int readIPSize()
    • readIP

      public void readIP​(byte[] target, int targetOffset)
      what IP Alice is reachable on
    • readPort

      public int readPort()
      what IP Alice is reachable on
    • readIntroKey

      public void readIntroKey​(byte[] target, int targetOffset)
      what Alice's intro key is (if known - if unknown, the key is INVALID_KEY)