util.rmi
Class VpnRegistry.VpnClient

java.lang.Object
  extended by util.rmi.VpnRegistry.VpnClient
All Implemented Interfaces:
Serializable, RMIClientSocketFactory
Enclosing class:
VpnRegistry

private static class VpnRegistry.VpnClient
extends Object
implements RMIClientSocketFactory, Serializable


Field Summary
private  InetAddress bindto
           
private  int myport
           
 
Constructor Summary
VpnRegistry.VpnClient(InetAddress bind)
           
 
Method Summary
 Socket createSocket(String host, int port)
           
 boolean equals(Object that)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindto

private final InetAddress bindto

myport

private int myport
Constructor Detail

VpnRegistry.VpnClient

VpnRegistry.VpnClient(InetAddress bind)
Method Detail

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException
Specified by:
createSocket in interface RMIClientSocketFactory
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object