public class RMILocalSocketFactory extends Object implements RMIServerSocketFactory
Modifier and Type | Class and Description |
---|---|
protected static class |
RMILocalSocketFactory.LocalServerSocket
This is a localhost-bound implementation of ServerSocket
|
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected static InetAddress |
loopbackAddress |
Constructor and Description |
---|
RMILocalSocketFactory() |
Modifier and Type | Method and Description |
---|---|
ServerSocket |
createServerSocket(int port)
Create a socket attached to the specified port.
|
boolean |
equals(Object o)
The contract makes us implement equals and hashcode
|
int |
hashCode()
Hashcode consistent with equals()
|
public static final String _rcsid
protected static InetAddress loopbackAddress
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface RMIServerSocketFactory
IOException
public boolean equals(Object o)