jist.runtime
Class ProxyPoint.ProxyServerSocket

java.lang.Object
  extended by java.net.ServerSocket
      extended by jist.runtime.ProxyPoint.ProxyServerSocket
Enclosing class:
ProxyPoint

public static class ProxyPoint.ProxyServerSocket
extends java.net.ServerSocket

A ServerSocket that operates via the ProxyPoint proxy.


Constructor Summary
ProxyPoint.ProxyServerSocket(java.net.InetAddress proxyhost, int proxyport, int port)
          Create a new proxied ServerSocket.
 
Method Summary
 java.net.Socket accept()
          
 int getLocalPort()
          
 
Methods inherited from class java.net.ServerSocket
bind, bind, close, getChannel, getInetAddress, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyPoint.ProxyServerSocket

public ProxyPoint.ProxyServerSocket(java.net.InetAddress proxyhost,
                                    int proxyport,
                                    int port)
                             throws java.io.IOException
Create a new proxied ServerSocket.

Parameters:
proxyhost - hostname of proxy server
proxyport - port of proxy server
port - listen port
Throws:
java.io.IOException - when i/o fails
Method Detail

accept

public java.net.Socket accept()
                       throws java.io.IOException

Overrides:
accept in class java.net.ServerSocket
Throws:
java.io.IOException

getLocalPort

public int getLocalPort()

Overrides:
getLocalPort in class java.net.ServerSocket