public interface RemotingConnectionConfiguration
| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
getCallbackHandler()
Returns the
CallbackHandler that will be used during connection creation. |
org.xnio.OptionMap |
getChannelCreationOptions()
Returns the
options that will be used during creation of a Channel
for the connection |
org.xnio.OptionMap |
getConnectionCreationOptions()
Returns the
options that will be used during connection creation. |
long |
getConnectionTimeout()
Returns the connection timeout in milliseconds, that will be used during connection creation
|
String |
getHost()
Returns the host name/IP address to be used during connection creation.
|
int |
getPort()
Returns the port that will be used during connection creation
|
String |
getProtocol()
The protocol to use.
|
boolean |
isConnectEagerly()
If this method returns true, then the EJB client API will try and connect to the destination host "eagerly".
|
org.xnio.OptionMap getConnectionCreationOptions()
options that will be used during connection creation. This method must
not return nullCallbackHandler getCallbackHandler()
CallbackHandler that will be used during connection creation. This method must
not return nulllong getConnectionTimeout()
org.xnio.OptionMap getChannelCreationOptions()
options that will be used during creation of a Channel
for the connectionboolean isConnectEagerly()
EJBClientContext
is being created out of the EJBClientConfiguration to which this connection configuration belongs.
On the other hand, if this method returns false, then the EJB client API will try to connect to the destination host only if no other node/EJBReceiver within the EJB client context
can handle a EJB invocation request. i.e. it tries to establish the connection lazily/on-demand.String getHost()
int getPort()
String getProtocol()
Copyright © 2017 JBoss by Red Hat. All rights reserved.