net.i2p.i2ptunnel.udp
Class I2PSource
java.lang.Object
net.i2p.i2ptunnel.udp.I2PSource
- All Implemented Interfaces:
- Runnable, Source
public class I2PSource
- extends Object
- implements Source, Runnable
- Author:
- welterde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sess
protected final I2PSession sess
queue
protected final BlockingQueue<Integer> queue
sink
protected Sink sink
thread
protected final Thread thread
verify
protected final boolean verify
raw
protected final boolean raw
I2PSource
public I2PSource(I2PSession sess)
I2PSource
public I2PSource(I2PSession sess,
boolean verify)
I2PSource
public I2PSource(I2PSession sess,
boolean verify,
boolean raw)
setSink
public void setSink(Sink sink)
- Specified by:
setSink
in interface Source
start
public void start()
- Specified by:
start
in interface Source
run
public void run()
- Specified by:
run
in interface Runnable