Modifier and Type | Field and Description |
---|---|
protected I2PDatagramMaker |
maker |
protected boolean |
raw |
protected I2PSession |
sess |
Constructor and Description |
---|
I2PSinkAnywhere(I2PSession sess) |
I2PSinkAnywhere(I2PSession sess,
boolean raw) |
protected final boolean raw
protected final I2PSession sess
protected final I2PDatagramMaker maker
public I2PSinkAnywhere(I2PSession sess)
public I2PSinkAnywhere(I2PSession sess, boolean raw)
public void send(Destination to, byte[] data)
send
in interface Sink
to
- - where it's goingRuntimeException
- if session is closed