public class RestrictedRMIRegistry
extends java.lang.Object
implements java.rmi.server.RMIServerSocketFactory, java.rmi.server.RMIClientSocketFactory
Constructor and Description |
---|
RestrictedRMIRegistry() |
Modifier and Type | Method and Description |
---|---|
static java.rmi.registry.Registry |
createRegistry(int port) |
java.net.ServerSocket |
createServerSocket(int port) |
java.net.Socket |
createSocket(java.lang.String host,
int port) |
public static java.rmi.registry.Registry createRegistry(int port) throws java.io.IOException
java.io.IOException
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
createServerSocket
in interface java.rmi.server.RMIServerSocketFactory
java.io.IOException
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket
in interface java.rmi.server.RMIClientSocketFactory
java.io.IOException
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.