Package net.i2p.i2ptunnel.streamr
Class MultiSource
- java.lang.Object
-
- net.i2p.i2ptunnel.streamr.MultiSource
-
-
Constructor Summary
Constructors Constructor Description MultiSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Destination sink)
void
remove(Destination sink)
void
send(Destination ignored_from, byte[] data)
May throw RuntimeException from underlying sinksvoid
setSink(Sink sink)
void
start()
void
stop()
-
-
-
Method Detail
-
stop
public void stop()
-
send
public void send(Destination ignored_from, byte[] data)
May throw RuntimeException from underlying sinks- Specified by:
send
in interfaceSink
- Parameters:
ignored_from
- some implementations may ignore- Throws:
RuntimeException
-
add
public void add(Destination sink)
-
remove
public void remove(Destination sink)
-
-