public class SocketConnectionSettings extends Object
This can be used for representing where a socket should bind in order to listen for connections, or which address should the socket connect to as well.
| Constructor and Description |
|---|
SocketConnectionSettings() |
SocketConnectionSettings(Integer port,
String host) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
InetSocketAddress |
getInetSocketAddress()
If the port is
null, let's the system choose a suitable port If the host is null uses the IP address wildcard
address. |
Integer |
getPort() |
String |
toString() |
public Integer getPort()
public String getHost()
public InetSocketAddress getInetSocketAddress()
null, let's the system choose a suitable port If the host is null uses the IP address wildcard
address. See InetSocketAddress for more informationInetSocketAddress to be used for bindingCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.