public class RMIServerSocketFactoryImpl extends Object implements RMIServerSocketFactory, Serializable
RMIServerSocketFactory that binds RMI to particular host/ip| Constructor and Description |
|---|
RMIServerSocketFactoryImpl(InetAddress pAddress) |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port)
Creates a server socket that listens on localAddress:port
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public RMIServerSocketFactoryImpl(InetAddress pAddress)
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface RMIServerSocketFactoryport - to use for the RMI server socketIOExceptionRMIServerSocketFactory.createServerSocket(int)Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.