com.ontimize.util.rmi
Class RMISSLReconnectSocketFactory
java.lang.Object
java.rmi.server.RMISocketFactory
com.ontimize.util.rmi.RMISSLReconnectSocketFactory
- All Implemented Interfaces:
- java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory
- public class RMISSLReconnectSocketFactory
- extends java.rmi.server.RMISocketFactory
| Methods inherited from class java.rmi.server.RMISocketFactory |
getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected RMISSLSocketFactory factory
handler
protected java.rmi.server.RMIFailureHandler handler
retryCount
protected int retryCount
retryTimeout
protected int retryTimeout
reconnect
protected boolean reconnect
RMISSLReconnectSocketFactory
public RMISSLReconnectSocketFactory()
RMISSLReconnectSocketFactory
public RMISSLReconnectSocketFactory(boolean reconnect)
RMISSLReconnectSocketFactory
public RMISSLReconnectSocketFactory(RMISSLSocketFactory fact,
boolean reconnect)
createServerSocket
public java.net.ServerSocket createServerSocket(int p)
throws java.io.IOException
- Throws:
java.io.IOException
setClientFailureHandler
public void setClientFailureHandler(java.rmi.server.RMIFailureHandler h)
createSocket
public java.net.Socket createSocket(java.lang.String host,
int p)
throws java.io.IOException
- Throws:
java.io.IOException
getInstance
public static java.rmi.server.RMISocketFactory getInstance(boolean reconnect)
throws java.security.NoSuchAlgorithmException,
java.io.IOException,
java.security.KeyStoreException,
java.security.cert.CertificateException,
java.security.UnrecoverableKeyException,
java.security.KeyManagementException
- Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.UnrecoverableKeyException
java.security.KeyManagementException
getInstance
public static java.rmi.server.RMISocketFactory getInstance(RMISSLSocketFactory sf,
boolean reconnect)
throws java.security.NoSuchAlgorithmException,
java.io.IOException,
java.security.KeyStoreException,
java.security.cert.CertificateException,
java.security.UnrecoverableKeyException,
java.security.KeyManagementException
- Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.UnrecoverableKeyException
java.security.KeyManagementException