Package org.opennms.bootstrap
Class HostRMIServerSocketFactory
- java.lang.Object
-
- java.rmi.server.RMISocketFactory
-
- org.opennms.bootstrap.HostRMIServerSocketFactory
-
- All Implemented Interfaces:
java.io.Serializable
,java.rmi.server.RMIClientSocketFactory
,java.rmi.server.RMIServerSocketFactory
public class HostRMIServerSocketFactory extends java.rmi.server.RMISocketFactory implements java.rmi.server.RMIServerSocketFactory, java.rmi.server.RMIClientSocketFactory, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostRMIServerSocketFactory()
HostRMIServerSocketFactory(java.lang.String host)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.ServerSocket
createServerSocket(int port)
java.net.Socket
createSocket(java.lang.String host, int port)
java.lang.String
getHost()
void
setHost(java.lang.String host)
-
-
-
Method Detail
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
- Specified by:
createServerSocket
in interfacejava.rmi.server.RMIServerSocketFactory
- Specified by:
createServerSocket
in classjava.rmi.server.RMISocketFactory
- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
- Specified by:
createSocket
in interfacejava.rmi.server.RMIClientSocketFactory
- Specified by:
createSocket
in classjava.rmi.server.RMISocketFactory
- Throws:
java.io.IOException
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
-