public class UDPPacketReader.SessionConfirmedReader extends UDPPacketReader.Reader
Constructor and Description |
---|
SessionConfirmedReader() |
Modifier and Type | Method and Description |
---|---|
int |
readCurrentFragmentNum()
which fragment is this?
|
int |
readCurrentFragmentSize() |
long |
readFinalFragmentSignedOnTime()
Read the time at which the signature was generated.
|
void |
readFinalSignature(byte[] target,
int targetOffset,
int size)
Read the signature from the final sessionConfirmed packet.
|
void |
readFragmentData(byte[] target,
int targetOffset)
read the fragment data from the nonterminal sessionConfirmed packet
|
int |
readTotalFragmentNum()
how many fragments will there be?
|
readExtendedOptions
public int readCurrentFragmentNum()
public int readTotalFragmentNum()
public int readCurrentFragmentSize()
public void readFragmentData(byte[] target, int targetOffset)
public long readFinalFragmentSignedOnTime()
public void readFinalSignature(byte[] target, int targetOffset, int size)
size
- not including padding