Package net.i2p.router.transport.udp
Class UDPPacketReader.RelayRequestReader
java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
net.i2p.router.transport.udp.UDPPacketReader.RelayRequestReader
- Enclosing class:
- UDPPacketReader
public class UDPPacketReader.RelayRequestReader extends UDPPacketReader.Reader
Help read the RelayRequest payload
-
Constructor Summary
Constructors Constructor Description RelayRequestReader()
-
Method Summary
Modifier and Type Method Description void
readAliceIntroKey(byte[] target, int targetOffset)
void
readChallengeData(byte[] target, int targetOffset)
unusedint
readChallengeSize()
unusedvoid
readIP(byte[] target, int targetOffset)
what IP Alice is reachable onint
readIPSize()
long
readNonce()
int
readPort()
long
readTag()
Methods inherited from class net.i2p.router.transport.udp.UDPPacketReader.Reader
readExtendedOptions
-
Constructor Details
-
RelayRequestReader
public RelayRequestReader()
-
-
Method Details
-
readTag
public long readTag() -
readIPSize
public int readIPSize() -
readIP
public void readIP(byte[] target, int targetOffset)what IP Alice is reachable on -
readPort
public int readPort() -
readChallengeSize
public int readChallengeSize()unused -
readChallengeData
public void readChallengeData(byte[] target, int targetOffset)unused -
readAliceIntroKey
public void readAliceIntroKey(byte[] target, int targetOffset) -
readNonce
public long readNonce()
-