Package com.aoindustries.rmi
Class RMIServerSocketFactoryTCP
- java.lang.Object
-
- com.aoindustries.rmi.RMIServerSocketFactoryTCP
-
- All Implemented Interfaces:
RMIServerSocketFactory
public class RMIServerSocketFactoryTCP extends Object implements RMIServerSocketFactory
TCP server factory (non-SSL).- Author:
- AO Industries, Inc.
-
-
Constructor Summary
Constructors Constructor Description RMIServerSocketFactoryTCP()Will listen on the default listen address.RMIServerSocketFactoryTCP(String listenAddress)Will listen on the provided listen address.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerSocketcreateServerSocket(int port)booleanequals(Object O)inthashCode()
-
-
-
Constructor Detail
-
RMIServerSocketFactoryTCP
public RMIServerSocketFactoryTCP()
Will listen on the default listen address.
-
RMIServerSocketFactoryTCP
public RMIServerSocketFactoryTCP(String listenAddress)
Will listen on the provided listen address.
-
-
Method Detail
-
createServerSocket
public ServerSocket createServerSocket(int port) throws IOException
- Specified by:
createServerSocketin interfaceRMIServerSocketFactory- Throws:
IOException
-
-