ice.net.socks
Class Socks

java.lang.Object
  extended byice.net.ConnectionRoute
      extended byice.net.Indirect
          extended byice.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

Field Summary
 
Fields inherited from class ice.net.ConnectionRoute
KNOWN_BAD, KNOWN_GOOD, UNTESTED
 
Constructor Summary
Socks(String host, int port)
          Constructs a Socks with the specified host and port.
 
Method Summary
 boolean equals(Object object)
           
 String toString()
           
 
Methods inherited from class ice.net.Indirect
checkHost, checkPort, getHost, getPort, getStatus, setStatus
 
Methods inherited from class ice.net.ConnectionRoute
checkStatus, getRequestedUrl, setRequestedUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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:
Since:
1.5
See Also:
#Indirect(String, int)
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Indirect

toString

public String toString()