net.i2p.router.tunnel
Class DummyValidator

java.lang.Object
  extended bynet.i2p.router.tunnel.DummyValidator
All Implemented Interfaces:
IVValidator

class DummyValidator
extends java.lang.Object
implements IVValidator

accept everything


Method Summary
static DummyValidator getInstance()
           
 boolean receiveIV(byte[] iv)
          receive the IV for the tunnel, 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
 

Method Detail

getInstance

public static DummyValidator getInstance()

receiveIV

public boolean receiveIV(byte[] iv)
Description copied from interface: IVValidator
receive the IV for the tunnel, returning true if it is valid, or false if it has already been used (or is otherwise invalid).

Specified by:
receiveIV in interface IVValidator