|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.tunnel.BloomFilterIVValidator
public class BloomFilterIVValidator
Manage the IV validation for all of the router's tunnels by way of a big decaying bloom filter.
Constructor Summary | |
---|---|
BloomFilterIVValidator(I2PAppContext ctx,
int KBps)
|
Method Summary | |
---|---|
void |
destroy()
|
boolean |
receiveIV(byte[] ivData,
int ivOffset,
byte[] payload,
int payloadOffset)
receive the IV for the tunnel message, returning true if it is valid, or false if it has already been used (or is otherwise invalid). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BloomFilterIVValidator(I2PAppContext ctx, int KBps)
Method Detail |
---|
public boolean receiveIV(byte[] ivData, int ivOffset, byte[] payload, int payloadOffset)
IVValidator
receiveIV
in interface IVValidator
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |