Package | Description |
---|---|
socks |
Modifier and Type | Method and Description |
---|---|
protected ProxyMessage |
Proxy.accept() |
protected ProxyMessage |
Proxy.bind(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.bind(String host,
int port) |
protected ProxyMessage |
Proxy.connect(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.connect(String host,
int port) |
protected ProxyMessage |
Proxy.exchange(ProxyMessage request)
Sends the request reads reply and returns it
throws exception if something wrong with IO
or the reply code is not zero
|
protected ProxyMessage |
Socks5Proxy.formMessage(InputStream in) |
protected ProxyMessage |
Socks4Proxy.formMessage(InputStream in) |
protected abstract ProxyMessage |
Proxy.formMessage(InputStream in) |
abstract void |
ProxyMessage.read(InputStream in)
Initialises Message from the stream.
|
abstract void |
ProxyMessage.read(InputStream in,
boolean client_mode)
Initialises Message from the stream.
|
protected ProxyMessage |
Proxy.readMsg()
Reads the reply from the SOCKS server
|
protected void |
Proxy.sendMsg(ProxyMessage msg)
Sends the request to SOCKS server
|
protected void |
Socks5Proxy.startSession() |
protected void |
Proxy.startSession() |
protected ProxyMessage |
Proxy.udpAssociate(InetAddress ip,
int port) |
protected ProxyMessage |
Proxy.udpAssociate(String host,
int port) |
abstract void |
ProxyMessage.write(OutputStream out)
Writes the message to the stream.
|
Constructor and Description |
---|
Socks5DatagramSocket()
Construct Datagram socket for communication over SOCKS5 proxy
server.
|
Socks5DatagramSocket(int port)
Construct Datagram socket for communication over SOCKS5 proxy
server.
|
Socks5DatagramSocket(int port,
InetAddress ip)
Construct Datagram socket for communication over SOCKS5 proxy
server.
|
Socks5DatagramSocket(Proxy p,
int port,
InetAddress ip)
Constructs datagram socket for communication over specified proxy.
|
SocksServerSocket(InetAddress ip,
int port)
Creates ServerSocket capable of accepting one connection
through the firewall, uses default Proxy.
|
SocksServerSocket(Proxy p,
InetAddress ip,
int port)
Creates ServerSocket capable of accepting one connection
through the firewall, uses given proxy.
|
SocksServerSocket(Proxy p,
String host,
int port)
Creates ServerSocket capable of accepting one connection
through the firewall, uses given proxy.
|
SocksServerSocket(String host,
int port)
Creates ServerSocket capable of accepting one connection
through the firewall, uses default Proxy.
|
SocksSocket(InetAddress ip,
int port)
Tryies to connect to given ip and port
using default proxy.
|
SocksSocket(Proxy p,
InetAddress ip,
int port)
Connects to given ip and port using given Proxy server.
|
SocksSocket(Proxy p,
String host,
int port)
Connects to host port using given proxy server.
|
SocksSocket(String host,
int port)
Tryies to connect to given host and port
using default proxy.
|
Copyright © 2024. All rights reserved.