public class OutboundSocketBinding extends Object
Define a named host-and-port combination for outbound communications.
SocketBindingGroup| Constructor and Description |
|---|
OutboundSocketBinding(String name)
Construct a new outbound binding.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Retrieve the name of the binding.
|
OutboundSocketBinding |
remoteHost(String hostExpr)
Set the remote-host name or expression.
|
String |
remoteHostExpression()
Retrieve the remote-host name or expression.
|
OutboundSocketBinding |
remotePort(int port)
Set the remote port.
|
OutboundSocketBinding |
remotePort(String portExpr)
Set the remote port expression
|
String |
remotePortExpression()
Retrieve the remote port expression.
|
public OutboundSocketBinding(String name)
name - The name of the binding.public String name()
public OutboundSocketBinding remoteHost(String hostExpr)
hostExpr - The remote host name or expression.public String remoteHostExpression()
public OutboundSocketBinding remotePort(int port)
port - The remote port.public OutboundSocketBinding remotePort(String portExpr)
portExpr - The remote port expressionpublic String remotePortExpression()
Copyright © 2020 JBoss by Red Hat. All rights reserved.