|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.SOCKSHeader
public class SOCKSHeader
Save the SOCKS header from a datagram Ref: RFC 1928
Constructor Summary | |
---|---|
SOCKSHeader(byte[] data)
|
|
SOCKSHeader(Destination dest)
Make a dummy header from a dest, for those cases where we want to receive unsolicited datagrams. |
Method Summary | |
---|---|
byte[] |
getBytes()
|
Destination |
getDestination()
|
java.lang.String |
getHost()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOCKSHeader(byte[] data)
data
- the whole packetpublic SOCKSHeader(Destination dest)
Method Detail |
---|
public java.lang.String getHost()
public Destination getDestination()
public byte[] getBytes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |