ice.net.socks
Class Socks
java.lang.Object
ice.net.ConnectionRoute
ice.net.Indirect
ice.net.socks.Socks
- All Implemented Interfaces:
- Serializable
- public class Socks
- extends Indirect
- implements Serializable
This is the implementation of an ConnectionRoute using the
SOCKS Protocol Version 5 protocol.
- Since:
- 1.5
- Version:
- 1.5
- Author:
- Jack van Ooststroom
- See Also:
- Serialized Form
|
Constructor Summary |
Socks(String host,
int port)
Constructs a Socks with the specified host
and port. |
Socks
public Socks(String host,
int port)
throws IllegalArgumentException
Constructs a Socks with the specified host
and port.
- Parameters:
host - the host name of the Socks to be created.port - the port number of the Socks to be created.
- Throws:
IllegalArgumentException - if one of the following occurs:
- the specified
host is either
null or empty;
- the specified
port is either less
than 0 or greater than
65536.
- Since:
- 1.5
- See Also:
#Indirect(String, int)
equals
public boolean equals(Object object)
- Overrides:
equals in class Indirect
toString
public String toString()