|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.SOCKSUDPWrapper
public class SOCKSUDPWrapper
Put a SOCKS header on a datagram Ref: RFC 1928
Constructor Summary | |
---|---|
SOCKSUDPWrapper(java.util.Map<Destination,SOCKSHeader> cache)
|
Method Summary | |
---|---|
void |
send(Destination from,
byte[] data)
Use the cached header, which should have the host string and port |
void |
setSink(Sink sink)
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOCKSUDPWrapper(java.util.Map<Destination,SOCKSHeader> 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 |