Package org.jboss.as.protocol
Class ProtocolConnectionConfiguration
java.lang.Object
org.jboss.as.protocol.ProtocolConnectionConfiguration
- Author:
- Emanuel Muckenhuber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()create(org.jboss.remoting3.Endpoint endpoint, org.xnio.OptionMap options) longorg.jboss.remoting3.Endpointorg.xnio.OptionMapgetUri()booleanWhere aCallbackHandleris provided should this be preferred over any resolvedAuthenticationConfiguration, defaults totrue.booleanbooleanvoidsetCallbackHandler(CallbackHandler callbackHandler) voidsetCallbackHandlerPreferred(boolean callbackHandlerPreferred) voidsetClientBindAddress(String clientBindAddress) voidsetConnectionTimeout(long connectionTimeout) voidsetEndpoint(org.jboss.remoting3.Endpoint endpoint) voidsetOptionMap(org.xnio.OptionMap optionMap) voidsetSaslOptions(Map<String, String> saslOptions) voidsetSslContext(SSLContext sslContext) voidsetTimeoutHandler(ProtocolTimeoutHandler timeoutHandler) voidprotected voidvalidate()Checks that this object is in a usable state, with the minimal required properties (endpoint, optionMap, uri) set
-
Constructor Details
-
ProtocolConnectionConfiguration
protected ProtocolConnectionConfiguration()
-
-
Method Details
-
validate
protected void validate()Checks that this object is in a usable state, with the minimal required properties (endpoint, optionMap, uri) set- Throws:
IllegalArgumentException- if any required properties are not set
-
getUri
-
setUri
-
getEndpoint
public org.jboss.remoting3.Endpoint getEndpoint() -
setEndpoint
public void setEndpoint(org.jboss.remoting3.Endpoint endpoint) -
getOptionMap
public org.xnio.OptionMap getOptionMap() -
setOptionMap
public void setOptionMap(org.xnio.OptionMap optionMap) -
getConnectionTimeout
public long getConnectionTimeout() -
setConnectionTimeout
public void setConnectionTimeout(long connectionTimeout) -
getCallbackHandler
-
setCallbackHandler
-
getSaslOptions
-
setSaslOptions
-
getSslContext
-
setSslContext
-
getClientBindAddress
-
setClientBindAddress
-
getTimeoutHandler
-
setTimeoutHandler
-
isSslEnabled
public boolean isSslEnabled() -
isUseStartTLS
public boolean isUseStartTLS() -
isCallbackHandlerPreferred
public boolean isCallbackHandlerPreferred()Where aCallbackHandleris provided should this be preferred over any resolvedAuthenticationConfiguration, defaults totrue.- Returns:
trueif the referencedCallbackHandlershould be preferred.
-
setCallbackHandlerPreferred
public void setCallbackHandlerPreferred(boolean callbackHandlerPreferred) -
copy
-
create
public static ProtocolConnectionConfiguration create(org.jboss.remoting3.Endpoint endpoint, URI uri) -
create
public static ProtocolConnectionConfiguration create(org.jboss.remoting3.Endpoint endpoint, org.xnio.OptionMap options) -
create
public static ProtocolConnectionConfiguration create(org.jboss.remoting3.Endpoint endpoint, URI uri, org.xnio.OptionMap options) -
copy
-