public class TimeoutClientSocketFactory
extends java.lang.Object
implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
TimeoutClientSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
createSocket(java.lang.String host,
int port)
Create a server socket on the specified port (port 0 indicates
an anonymous port).
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
private static final long serialVersionUID
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException
createSocket in interface java.rmi.server.RMIClientSocketFactoryport - the port numberjava.io.IOException - if an I/O error occurs during server socket
creationpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object