public class ERMIClientSocketFactory extends RMISocketFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
ERMIClientSocketFactory.DefaultFailureHandler |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
protected RMISocketFactory |
factory |
protected RMIFailureHandler |
handler |
protected int |
retryCount |
protected int |
retryTimeout |
| Constructor and Description |
|---|
ERMIClientSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int p) |
Socket |
createSocket(String host,
int p) |
void |
setClientFailureHandler(RMIFailureHandler h) |
getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactorypublic static boolean DEBUG
protected RMISocketFactory factory
protected RMIFailureHandler handler
protected int retryCount
protected int retryTimeout
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.