public class MXRMIRegistrySocketFactory
extends java.rmi.server.RMISocketFactory
Constructor and Description |
---|
MXRMIRegistrySocketFactory() |
Modifier and Type | Method and Description |
---|---|
java.net.ServerSocket |
createServerSocket(int port)
Intercepts port=0 (anonymous port) and sets to RMIREGISTRYPORT.
|
java.net.Socket |
createSocket(java.lang.String host,
int port) |
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket
in interface java.rmi.server.RMIClientSocketFactory
createSocket
in class java.rmi.server.RMISocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
createServerSocket
in interface java.rmi.server.RMIServerSocketFactory
createServerSocket
in class java.rmi.server.RMISocketFactory
java.io.IOException