protected class ReferenceLocator.DefaultClientSocketFactory extends RMISocketFactory
| Modifier and Type | Field and Description |
|---|---|
protected RMIClientSocketFactory |
clientFactory |
protected RMIFailureHandler |
handler |
protected int |
retriesLimit |
protected int |
retryWaitTime |
protected RMIServerSocketFactory |
serverFactory |
| Constructor and Description |
|---|
ReferenceLocator.DefaultClientSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int p) |
Socket |
createSocket(String host,
int p) |
void |
setClientFailureHandler(RMIFailureHandler h) |
getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactoryprotected RMIClientSocketFactory clientFactory
protected RMIServerSocketFactory serverFactory
protected RMIFailureHandler handler
protected int retriesLimit
protected int retryWaitTime
public ReferenceLocator.DefaultClientSocketFactory()
public ServerSocket createServerSocket(int p) throws IOException
createServerSocket in interface RMIServerSocketFactorycreateServerSocket in class RMISocketFactoryIOExceptionpublic void setClientFailureHandler(RMIFailureHandler h)
public Socket createSocket(String host, int p) throws IOException
createSocket in interface RMIClientSocketFactorycreateSocket in class RMISocketFactoryIOExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.