public class UDPPacketReader.PeerTestReader extends UDPPacketReader.Reader
Constructor | Description |
---|---|
PeerTestReader() |
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 on
|
int |
readIPSize() |
|
long |
readNonce() |
|
int |
readPort() |
what IP Alice is reachable on
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readExtendedOptions
public long readNonce()
public int readIPSize()
public void readIP(byte[] target, int targetOffset)
public int readPort()
public void readIntroKey(byte[] target, int targetOffset)