Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.net » [javadoc | source]
com.sshtools.j2ssh.net
public class: SocksProxySocket [javadoc | source]
java.lang.Object
   java.net.Socket
      com.sshtools.j2ssh.net.SocksProxySocket

All Implemented Interfaces:
    TransportProvider

Field Summary
public static final  int SOCKS4     
public static final  int SOCKS5     
Method from com.sshtools.j2ssh.net.SocksProxySocket Summary:
connectViaSocks4Proxy,   connectViaSocks5Proxy,   connectViaSocks5Proxy,   getProviderDetail,   toString
Methods from java.net.Socket:
bind,   close,   connect,   connect,   getChannel,   getInetAddress,   getInputStream,   getKeepAlive,   getLocalAddress,   getLocalPort,   getLocalSocketAddress,   getOOBInline,   getOutputStream,   getPort,   getReceiveBufferSize,   getRemoteSocketAddress,   getReuseAddress,   getSendBufferSize,   getSoLinger,   getSoTimeout,   getTcpNoDelay,   getTrafficClass,   isBound,   isClosed,   isConnected,   isInputShutdown,   isOutputShutdown,   sendUrgentData,   setKeepAlive,   setOOBInline,   setPerformancePreferences,   setReceiveBufferSize,   setReuseAddress,   setSendBufferSize,   setSoLinger,   setSoTimeout,   setSocketImplFactory,   setTcpNoDelay,   setTrafficClass,   shutdownInput,   shutdownOutput,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.net.SocksProxySocket Detail:
 public static SocksProxySocket connectViaSocks4Proxy(String remoteHost,
    int remotePort,
    String proxyHost,
    int proxyPort,
    String userId) throws UnknownHostException, IOException 
 public static SocksProxySocket connectViaSocks5Proxy(String remoteHost,
    int remotePort,
    String proxyHost,
    int proxyPort,
    String username,
    String password) throws UnknownHostException, IOException 
 public static SocksProxySocket connectViaSocks5Proxy(String remoteHost,
    int remotePort,
    String proxyHost,
    int proxyPort,
    boolean localLookup,
    String username,
    String password) throws UnknownHostException, IOException 
 public String getProviderDetail() 
 public String toString()