|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.SOCKSUDPUnwrapper
public class SOCKSUDPUnwrapper
Strip a SOCKS header off a datagram, convert it to a Destination Ref: RFC 1928
Constructor Summary | |
---|---|
SOCKSUDPUnwrapper(java.util.Map<Destination,SOCKSHeader> cache)
|
Method Summary | |
---|---|
void |
send(Destination ignored_from,
byte[] data)
|
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 SOCKSUDPUnwrapper(java.util.Map<Destination,SOCKSHeader> cache)
cache
- put headers here to pass to SOCKSUDPWrapperMethod Detail |
---|
public void setSink(Sink sink)
setSink
in interface Source
public void start()
start
in interface Source
public void send(Destination ignored_from, byte[] data)
send
in interface Sink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |