Package net.i2p.router.transport.udp
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 Summary
Constructors Constructor Description PeerTestReader()
-
Method Summary
Modifier and Type Method Description void
readIntroKey(byte[] target, int targetOffset)
what Alice's intro key is (if known - if unknown, the key is INVALID_KEY)void
readIP(byte[] target, int targetOffset)
what IP Alice is reachable onint
readIPSize()
long
readNonce()
int
readPort()
what IP Alice is reachable onMethods inherited from class net.i2p.router.transport.udp.UDPPacketReader.Reader
readExtendedOptions
-
Constructor Details
-
PeerTestReader
public PeerTestReader()
-
-
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)
-