public class UDPPacketReader.SessionCreatedReader extends UDPPacketReader.Reader
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static int |
Y_LENGTH |
コンストラクタ | 説明 |
---|---|
SessionCreatedReader() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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)