public class MXRMISocketFactory
extends java.rmi.server.RMISocketFactory
java.rmi.server
Constructor and Description |
---|
MXRMISocketFactory() |
Modifier and Type | Method and Description |
---|---|
java.net.ServerSocket |
createServerSocket(int port)
Intercepts port=0 (anonymous port) and sets to RMIPORT.
|
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