public class RMIClientSocketFactoryTCP extends Object implements RMIClientSocketFactory, Serializable
| Constructor and Description |
|---|
RMIClientSocketFactoryTCP()
Will establish connections with the system default local address.
|
RMIClientSocketFactoryTCP(String localAddress)
Will establish connections with the provided local address.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket(String host,
int port) |
boolean |
equals(Object O) |
int |
hashCode() |
public RMIClientSocketFactoryTCP()
public RMIClientSocketFactoryTCP(String localAddress)
public Socket createSocket(String host, int port) throws IOException
createSocket in interface RMIClientSocketFactoryIOExceptionCopyright © 2016. All rights reserved.