public class TimeoutClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Constructor and Description |
---|
TimeoutClientSocketFactory() |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String host,
int port)
Create a server socket on the specified port (port 0 indicates
an anonymous port).
|
boolean |
equals(Object obj) |
int |
hashCode() |
public Socket createSocket(String host, int port) throws IOException
createSocket
in interface RMIClientSocketFactory
port
- the port numberIOException
- if an I/O error occurs during server socket
creationCopyright © 2018 JBoss by Red Hat. All rights reserved.