public class UDPPacketReader.SessionCreatedReader extends UDPPacketReader.Reader
Modifier and Type | Field and Description |
---|---|
static int |
Y_LENGTH |
Constructor and Description |
---|
SessionCreatedReader() |
Modifier and Type | Method and Description |
---|---|
void |
readEncryptedSignature(byte[] target,
int targetOffset,
int size) |
void |
readIP(byte[] target,
int targetOffset)
what IP do they think we are coming on?
|
int |
readIPSize()
sizeof(IP)
|
void |
readIV(byte[] target,
int targetOffset) |
int |
readPort()
what port do they think we are coming from?
|
long |
readRelayTag()
read in the 4 byte relayAs tag
|
long |
readSignedOnTime() |
void |
readY(byte[] target,
int targetOffset) |
readExtendedOptions
public static final int Y_LENGTH
public void readY(byte[] target, int targetOffset)
public int readIPSize()
public void readIP(byte[] target, int targetOffset)
public int readPort()
public long readRelayTag()
public long readSignedOnTime()
public void readEncryptedSignature(byte[] target, int targetOffset, int size)
size
- the amount to be copied, including padding to mod 16public void readIV(byte[] target, int targetOffset)