public final class RmiUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LOCAL_PORT |
static int |
DEFAULT_RMI_PORT |
static int |
DEFAULT_RMI_REGISTRY_PORT |
Modifier and Type | Method and Description |
---|---|
static RMIClientSocketFactory |
createClientSocketFactory() |
static RMIServerSocketFactory |
createServerSocketFactory() |
static InetAddress |
getRmiHost() |
static int |
getRmiRegistryPort() |
public static final int DEFAULT_RMI_REGISTRY_PORT
public static final int DEFAULT_RMI_PORT
public static final int DEFAULT_LOCAL_PORT
public static RMIClientSocketFactory createClientSocketFactory()
public static RMIServerSocketFactory createServerSocketFactory() throws RemoteException
RemoteException
public static InetAddress getRmiHost() throws RemoteException
RemoteException
- when no valid address can be foundpublic static int getRmiRegistryPort()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.