Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.