com.ibm.di.api.remote.impl.rmi
Class RMISocketFactory

java.lang.Object
  extended by 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

Constructor Summary
RMISocketFactory(Vector aHosts)
           
 
Method Summary
static boolean allowConnection()
           
 ServerSocket createServerSocket(int aPort)
           
 Socket createSocket(String host, int port)
           
protected static void setLocalThreadSocket(Socket aSocket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMISocketFactory

public RMISocketFactory(Vector aHosts)
Method Detail

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