class ProtonClientOptions extends NetClientOptions
Options for configuring io.vertx.scala.proton.ProtonClient connect operations.
- Alphabetic
- By Inheritance
- ProtonClientOptions
- NetClientOptions
- ClientOptionsBase
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ProtonClientOptions(_asJava: proton.ProtonClientOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCrlPath(value: String): ProtonClientOptions
Add a CRL path
Add a CRL path
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addCrlValue(value: Buffer): ProtonClientOptions
Add a CRL value
Add a CRL value
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledCipherSuite(value: String): ProtonClientOptions
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled cipher suite, appended to the ordered suites.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledSaslMechanism(value: String): ProtonClientOptions
Adds a mechanism name that the client may use during SASL negotiation.
-
def
addEnabledSecureTransportProtocol(value: String): ProtonClientOptions
Sets the list of enabled SSL/TLS protocols.
Sets the list of enabled SSL/TLS protocols.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: proton.ProtonClientOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnectTimeout: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
getCrlPaths: Buffer[String]
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getCrlValues: Buffer[Buffer]
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getEnabledCipherSuites: Set[String]
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getEnabledSaslMechanisms: Set[String]
-
def
getEnabledSecureTransportProtocols: Set[String]
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getHeartbeat: Int
-
def
getHostnameVerificationAlgorithm: String
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
getIdleTimeout: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getIdleTimeoutUnit: TimeUnit
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getJdkSslEngineOptions: JdkSSLEngineOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getKeyStoreOptions: JksOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getLocalAddress: String
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
getLogActivity: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
- def getMaxFrameSize: Int
-
def
getMetricsName: String
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
getOpenSslEngineOptions: OpenSSLEngineOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPemKeyCertOptions: PemKeyCertOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPemTrustOptions: PemTrustOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxKeyCertOptions: PfxOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxTrustOptions: PfxOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getProxyOptions: ProxyOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
getReceiveBufferSize: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getReconnectAttempts: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
getReconnectInterval: Long
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
getSendBufferSize: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
- def getSniServerName: String
-
def
getSoLinger: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getTrafficClass: Int
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getTrustStoreOptions: JksOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getVirtualHost: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReuseAddress: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isReusePort: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isSsl: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpCork: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpFastOpen: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpKeepAlive: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpNoDelay: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpQuickAck: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTrustAll: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
isUseAlpn: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isUsePooledBuffers: Boolean
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setConnectTimeout(value: Int): ProtonClientOptions
Set the connect timeout
Set the connect timeout
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
setEnabledSecureTransportProtocols(value: Set[String]): ProtonClientOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setHeartbeat(value: Int): ProtonClientOptions
Set the heartbeat (in milliseconds) as maximum delay between sending frames for the remote peers.
Set the heartbeat (in milliseconds) as maximum delay between sending frames for the remote peers. If no frames are received within 2*heartbeat, the connection is closed
-
def
setHostnameVerificationAlgorithm(value: String): ProtonClientOptions
Set the hostname verification algorithm interval To disable hostname verification, set hostnameVerificationAlgorithm to an empty String
Set the hostname verification algorithm interval To disable hostname verification, set hostnameVerificationAlgorithm to an empty String
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
setIdleTimeout(value: Int): ProtonClientOptions
Set the idle timeout, default time unit is seconds.
Set the idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.
If you want change default time unit, use NetClientOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setIdleTimeoutUnit(value: TimeUnit): ProtonClientOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setJdkSslEngineOptions(value: JdkSSLEngineOptions): ProtonClientOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setKeyStoreOptions(value: JksOptions): ProtonClientOptions
Set the key/cert options in jks format, aka Java keystore.
Set the key/cert options in jks format, aka Java keystore.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setLocalAddress(value: String): ProtonClientOptions
Set the local interface to bind for network connections.
Set the local interface to bind for network connections. When the local address is null, it will pick any local address, the default local address is null.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
setLogActivity(value: Boolean): ProtonClientOptions
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setMaxFrameSize(value: Int): ProtonClientOptions
Sets the maximum frame size for the connection.
Sets the maximum frame size for the connection.
If this property is not set explicitly, a reasonable default value is used.
Setting this property to a negative value will result in no maximum frame size being announced at all.
-
def
setMetricsName(value: String): ProtonClientOptions
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
setOpenSslEngineOptions(value: OpenSSLEngineOptions): ProtonClientOptions
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPemKeyCertOptions(value: PemKeyCertOptions): ProtonClientOptions
Set the key/cert store options in pem format.
Set the key/cert store options in pem format.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPemTrustOptions(value: PemTrustOptions): ProtonClientOptions
Set the trust options in pem format
Set the trust options in pem format
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxKeyCertOptions(value: PfxOptions): ProtonClientOptions
Set the key/cert options in pfx format.
Set the key/cert options in pfx format.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxTrustOptions(value: PfxOptions): ProtonClientOptions
Set the trust options in pfx format
Set the trust options in pfx format
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setProxyOptions(value: ProxyOptions): ProtonClientOptions
Set proxy options for connections via CONNECT proxy (e.g.
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
setReceiveBufferSize(value: Int): ProtonClientOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReconnectAttempts(value: Int): ProtonClientOptions
Set the value of reconnect attempts
Set the value of reconnect attempts
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
setReconnectInterval(value: Long): ProtonClientOptions
Set the reconnect interval
Set the reconnect interval
- Definition Classes
- ProtonClientOptions → NetClientOptions
-
def
setReuseAddress(value: Boolean): ProtonClientOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReusePort(value: Boolean): ProtonClientOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSendBufferSize(value: Int): ProtonClientOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSniServerName(value: String): ProtonClientOptions
Explicitly override the hostname to use for the TLS SNI server name.
Explicitly override the hostname to use for the TLS SNI server name.
If neither the ProtonClientOptions or SNI server name is explicitly overridden, the hostname specified in io.vertx.scala.proton.ProtonClient will be used, with SNI performed implicitly where a FQDN was specified.
This method should typically only be needed to set different values for the [virtual] hostname and SNI server name.
-
def
setSoLinger(value: Int): ProtonClientOptions
Set whether SO_linger keep alive is enabled
Set whether SO_linger keep alive is enabled
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setSsl(value: Boolean): ProtonClientOptions
Set whether SSL/TLS is enabled
Set whether SSL/TLS is enabled
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpCork(value: Boolean): ProtonClientOptions
Enable the
TCP_CORK
option - only with linux native transport.Enable the
TCP_CORK
option - only with linux native transport.- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpFastOpen(value: Boolean): ProtonClientOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport.Enable the
TCP_FASTOPEN
option - only with linux native transport.- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpKeepAlive(value: Boolean): ProtonClientOptions
Set whether TCP keep alive is enabled
Set whether TCP keep alive is enabled
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpNoDelay(value: Boolean): ProtonClientOptions
Set whether TCP no delay is enabled
Set whether TCP no delay is enabled
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpQuickAck(value: Boolean): ProtonClientOptions
Enable the
TCP_QUICKACK
option - only with linux native transport.Enable the
TCP_QUICKACK
option - only with linux native transport.- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTrafficClass(value: Int): ProtonClientOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setTrustAll(value: Boolean): ProtonClientOptions
Set whether all server certificates should be trusted
Set whether all server certificates should be trusted
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase
-
def
setTrustStoreOptions(value: JksOptions): ProtonClientOptions
Set the trust options in jks format, aka Java truststore
Set the trust options in jks format, aka Java truststore
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUseAlpn(value: Boolean): ProtonClientOptions
Set the ALPN usage.
Set the ALPN usage.
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUsePooledBuffers(value: Boolean): ProtonClientOptions
Set whether Netty pooled buffers are enabled
Set whether Netty pooled buffers are enabled
- Definition Classes
- ProtonClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setVirtualHost(value: String): ProtonClientOptions
Override the hostname value used in the connection AMQP Open frame and TLS SNI server name (if TLS is in use).
Override the hostname value used in the connection AMQP Open frame and TLS SNI server name (if TLS is in use). By default, the hostname specified in io.vertx.scala.proton.ProtonClient will be used for both, with SNI performed implicit where a FQDN was specified.
The SNI server name can also be overridden explicitly using ProtonClientOptions.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )