Package org.apache.jmeter.rmi
Class RmiUtils
java.lang.Object
org.apache.jmeter.rmi.RmiUtils
RMI Helper class
- Since:
- 4.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int
- 
Method SummaryModifier and TypeMethodDescriptionstatic RMIClientSocketFactorystatic RMIServerSocketFactorystatic InetAddressstatic int
- 
Field Details- 
DEFAULT_RMI_REGISTRY_PORTpublic static final int DEFAULT_RMI_REGISTRY_PORT
- 
DEFAULT_RMI_PORTpublic static final int DEFAULT_RMI_PORT
- 
DEFAULT_LOCAL_PORTpublic static final int DEFAULT_LOCAL_PORT
 
- 
- 
Method Details- 
createClientSocketFactory
- 
createServerSocketFactory- Throws:
- RemoteException
 
- 
getRmiHost- Returns:
- the configure address for usage by RMI
- Throws:
- RemoteException- when no valid address can be found
 
- 
getRmiRegistryPortpublic static int getRmiRegistryPort()- Returns:
- port of RMI Registry
 
 
-