Package com.aoindustries.rmi
Class RMIClientSocketFactoryTCP
- java.lang.Object
-
- com.aoindustries.rmi.RMIClientSocketFactoryTCP
-
- All Implemented Interfaces:
Serializable,RMIClientSocketFactory
public class RMIClientSocketFactoryTCP extends Object implements RMIClientSocketFactory, Serializable
TCP client factory (non-SSL).- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RMIClientSocketFactoryTCP()Will establish connections with the system default local address.RMIClientSocketFactoryTCP(String localAddress)Will establish connections with the provided local address.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket(String host, int port)booleanequals(Object O)inthashCode()
-
-
-
Constructor Detail
-
RMIClientSocketFactoryTCP
public RMIClientSocketFactoryTCP()
Will establish connections with the system default local address.
-
RMIClientSocketFactoryTCP
public RMIClientSocketFactoryTCP(String localAddress)
Will establish connections with the provided local address.
-
-
Method Detail
-
createSocket
public Socket createSocket(String host, int port) throws IOException
- Specified by:
createSocketin interfaceRMIClientSocketFactory- Throws:
IOException
-
-