List of usage examples for java.rmi.server RMISocketFactory getSocketFactory
public synchronized static RMISocketFactory getSocketFactory()
setSocketFactory
method. From source file:org.ut.biolab.medsavant.server.MedSavantServerEngine.java
public static RMIServerSocketFactory getDefaultServerSocketFactory() { return isTLSRequired() ? new SslRMIServerSocketFactory(null, null, require_client_auth) : RMISocketFactory.getSocketFactory(); }
From source file:org.ut.biolab.medsavant.server.MedSavantServerEngine.java
public static RMIClientSocketFactory getDefaultClientSocketFactory() { return isTLSRequired() ? new SslRMIClientSocketFactory() : RMISocketFactory.getSocketFactory(); }