com.ibm.di.api.remote.impl.rmi
Class RMISocketFactory
java.lang.Object
com.ibm.di.api.remote.impl.rmi.RMISocketFactory
- All Implemented Interfaces:
- Serializable, RMIClientSocketFactory, RMIServerSocketFactory
public class RMISocketFactory
- extends Object
- implements RMIServerSocketFactory, RMIClientSocketFactory, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMISocketFactory
public RMISocketFactory(Vector aHosts)
createServerSocket
public ServerSocket createServerSocket(int aPort)
throws IOException
- Specified by:
createServerSocket
in interface RMIServerSocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException
- Specified by:
createSocket
in interface RMIClientSocketFactory
- Throws:
IOException
setLocalThreadSocket
protected static void setLocalThreadSocket(Socket aSocket)
allowConnection
public static boolean allowConnection()
throws Exception
- Throws:
Exception