Modifier and Type | Class and Description |
---|---|
(package private) static class |
MultiSource.MSink |
Constructor and Description |
---|
MultiSource() |
Modifier and Type | Method and Description |
---|---|
void |
add(MultiSource.MSink ms) |
void |
remove(MultiSource.MSink ms) |
void |
send(Destination ignored_from,
int ignored_fromPort,
int ignored_toPort,
byte[] data)
May throw RuntimeException from underlying sinks
|
void |
setSink(Sink sink) |
void |
start() |
void |
stop() |
public void stop()
public void send(Destination ignored_from, int ignored_fromPort, int ignored_toPort, byte[] data)
send
in interface Sink
ignored_from
- some implementations may ignore, may be null in some implementationsignored_fromPort
- I2CP source port, 0-65535ignored_toPort
- I2CP destination port, 0-65535RuntimeException
public void add(MultiSource.MSink ms)
public void remove(MultiSource.MSink ms)