public class DefaultClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Constructor and Description |
---|
DefaultClientSocketFactory() |
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) |
String |
getBindAddress() |
int |
hashCode() |
void |
setBindAddress(String host) |
String |
toString() |
public String getBindAddress()
public void setBindAddress(String host) throws UnknownHostException
UnknownHostException
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.