org.ourgrid.common.security
Class MGSecureClientSocketFactory

java.lang.Object
  extended by org.ourgrid.common.security.MGSecureClientSocketFactory
All Implemented Interfaces:
java.io.Serializable, java.rmi.server.RMIClientSocketFactory

public class MGSecureClientSocketFactory
extends java.lang.Object
implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable

The Secure Client SocketFactory. Based on the Sun's example.

See Also:
Serialized Form

Constructor Summary
protected MGSecureClientSocketFactory()
           
 
Method Summary
 java.net.Socket createSocket(java.lang.String host, int port)
           
static MGSecureClientSocketFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MGSecureClientSocketFactory

protected MGSecureClientSocketFactory()
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Throws:
java.io.IOException

getInstance

public static MGSecureClientSocketFactory getInstance()