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
UnknownHostExceptionpublic Socket createSocket(String host, int port) throws IOException
createSocket in interface RMIClientSocketFactoryport - the port numberIOException - if an I/O error occurs during server socket
creationCopyright © 2015 JBoss by Red Hat. All rights reserved.