public static interface RatchetPayload.PayloadCallback
| Modifier and Type | Method and Description |
|---|---|
void |
gotAck(int id,
int n) |
void |
gotAckRequest() |
void |
gotDateTime(long time) |
void |
gotGarlic(GarlicClove clove) |
void |
gotNextKey(NextSessionKey nextKey) |
void |
gotOptions(byte[] options,
boolean isHandshake) |
void |
gotPadding(int paddingLength,
int frameLength)
For stats.
|
void |
gotPN(int pn) |
void |
gotTermination(int reason) |
void |
gotUnknown(int type,
int len) |
void gotDateTime(long time)
throws net.i2p.data.DataFormatException
net.i2p.data.DataFormatExceptionvoid gotGarlic(GarlicClove clove)
void gotOptions(byte[] options,
boolean isHandshake)
throws net.i2p.data.DataFormatException
isHandshake - true only for message 3 part 2net.i2p.data.DataFormatExceptionvoid gotTermination(int reason)
reason - 0-255void gotPN(int pn)
pn - 0-65535void gotNextKey(NextSessionKey nextKey)
nextKey - the next onevoid gotAck(int id,
int n)
void gotAckRequest()
void gotPadding(int paddingLength,
int frameLength)
paddingLength - the number of padding bytes, not including the 3-byte block headerframeLength - the total size of the frame, including all blocks and block headersvoid gotUnknown(int type,
int len)