public class SOCKSHeader
extends java.lang.Object
コンストラクタ | 説明 |
---|---|
SOCKSHeader(byte[] data) |
|
SOCKSHeader(Destination dest) |
Make a dummy header from a dest,
for those cases where we want to receive unsolicited datagrams.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
byte[] |
getBytes() |
|
Destination |
getDestination() |
|
java.lang.String |
getHost() |
public SOCKSHeader(byte[] data)
data
- the whole packetpublic SOCKSHeader(Destination dest)
public java.lang.String getHost()
public Destination getDestination()
public byte[] getBytes()