|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.MultiSink
public class MultiSink
Sends to one of many Sinks
Constructor Summary | |
---|---|
MultiSink(java.util.Map cache)
|
Method Summary | |
---|---|
void |
send(Destination from,
byte[] data)
|
void |
setSink(Sink sink)
Don't use this - put sinks in the cache |
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiSink(java.util.Map cache)
Method Detail |
---|
public void setSink(Sink sink)
setSink
in interface Source
public void start()
start
in interface Source
public void send(Destination from, byte[] data)
send
in interface Sink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |