Class EdalRmiSocketFactory
- java.lang.Object
-
- java.rmi.server.RMISocketFactory
-
- de.ipk_gatersleben.bit.bi.edal.rmi.server.nossl.EdalRmiSocketFactory
-
- All Implemented Interfaces:
java.rmi.server.RMIClientSocketFactory
,java.rmi.server.RMIServerSocketFactory
public class EdalRmiSocketFactory extends java.rmi.server.RMISocketFactory
eDAL specific RMISocketFactory to define a constant data port.
-
-
Constructor Summary
Constructors Constructor Description EdalRmiSocketFactory()
construct a new FixedPortRMISocketFactory with standard port 1098EdalRmiSocketFactory(int port)
construct a new FixedPortRMISocketFactory
-
Method Summary
Modifier and Type Method Description java.net.ServerSocket
createServerSocket(int port)
java.net.Socket
createSocket(java.lang.String host, int port)
-
-
-
Method Detail
-
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
-
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
-
-