Package net.i2p.router.transport.udp
Class UDPPacketReader.RelayResponseReader
java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
net.i2p.router.transport.udp.UDPPacketReader.RelayResponseReader
- Enclosing class:
- UDPPacketReader
public class UDPPacketReader.RelayResponseReader extends UDPPacketReader.Reader
Help read the RelayResponse payload
-
Constructor Summary
Constructors Constructor Description RelayResponseReader()
-
Method Summary
Modifier and Type Method Description void
readAliceIP(byte[] target, int targetOffset)
Deprecated.unusedint
readAliceIPSize()
Deprecated.unusedint
readAlicePort()
Deprecated.unusedvoid
readCharlieIP(byte[] target, int targetOffset)
what IP charlie is reachable onint
readCharlieIPSize()
int
readCharliePort()
what port charlie is reachable onlong
readNonce()
Methods inherited from class net.i2p.router.transport.udp.UDPPacketReader.Reader
readExtendedOptions
-
Constructor Details
-
RelayResponseReader
public RelayResponseReader()
-
-
Method Details
-
readCharlieIPSize
public int readCharlieIPSize() -
readCharlieIP
public void readCharlieIP(byte[] target, int targetOffset)what IP charlie is reachable on -
readCharliePort
public int readCharliePort()what port charlie is reachable on -
readAliceIPSize
Deprecated.unused -
readAliceIP
Deprecated.unused -
readAlicePort
Deprecated.unused -
readNonce
public long readNonce()
-