public class RMILocalSocketFactory
extends java.lang.Object
implements java.rmi.server.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 java.lang.String |
_rcsid |
protected static java.net.InetAddress |
loopbackAddress |
| Constructor and Description |
|---|
RMILocalSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.net.ServerSocket |
createServerSocket(int port)
Create a socket attached to the specified port.
|
boolean |
equals(java.lang.Object o)
The contract makes us implement equals and hashcode
|
int |
hashCode()
Hashcode consistent with equals()
|
public static final java.lang.String _rcsid
protected static java.net.InetAddress loopbackAddress
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
createServerSocket in interface java.rmi.server.RMIServerSocketFactoryjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object