class MqttServerOptions extends NetServerOptions
Represents options used by the MQTT server
- Alphabetic
- By Inheritance
- MqttServerOptions
- NetServerOptions
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MqttServerOptions(_asJava: mqtt.MqttServerOptions)
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): MqttServerOptions
Add a CRL path
Add a CRL path
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
addCrlValue(value: Buffer): MqttServerOptions
Add a CRL value
Add a CRL value
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
addEnabledCipherSuite(value: String): MqttServerOptions
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled cipher suite, appended to the ordered suites.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
addEnabledSecureTransportProtocol(value: String): MqttServerOptions
Sets the list of enabled SSL/TLS protocols.
Sets the list of enabled SSL/TLS protocols.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: mqtt.MqttServerOptions
- Definition Classes
- MqttServerOptions → NetServerOptions
-
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] )
-
def
getAcceptBacklog: Int
- Definition Classes
- MqttServerOptions → NetServerOptions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getClientAuth: ClientAuth
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
getCrlPaths: Buffer[String]
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getCrlValues: Buffer[Buffer]
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getEnabledCipherSuites: Set[String]
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getEnabledSecureTransportProtocols: Set[String]
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getHost: String
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
getIdleTimeout: Int
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getIdleTimeoutUnit: TimeUnit
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getJdkSslEngineOptions: JdkSSLEngineOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getKeyStoreOptions: JksOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getLogActivity: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
- def getMaxMessageSize: Int
-
def
getOpenSslEngineOptions: OpenSSLEngineOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getPemKeyCertOptions: PemKeyCertOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getPemTrustOptions: PemTrustOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getPfxKeyCertOptions: PfxOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getPfxTrustOptions: PfxOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getPort: Int
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
getReceiveBufferSize: Int
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
getSendBufferSize: Int
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
getSoLinger: Int
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
getTrafficClass: Int
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
getTrustStoreOptions: JksOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAutoClientId: Boolean
-
def
isClientAuthRequired: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReuseAddress: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
isReusePort: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
isSni: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
isSsl: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isTcpCork: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isTcpFastOpen: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isTcpKeepAlive: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isTcpNoDelay: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isTcpQuickAck: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isUseAlpn: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
isUsePooledBuffers: Boolean
- Definition Classes
- MqttServerOptions → NetServerOptions → 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
setAcceptBacklog(value: Int): MqttServerOptions
Set the accept back log
Set the accept back log
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setAutoClientId(value: Boolean): MqttServerOptions
Set if clientid should be auto-generated when it's "zero-bytes"
-
def
setClientAuth(value: ClientAuth): MqttServerOptions
Set whether client auth is required
Set whether client auth is required
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setClientAuthRequired(value: Boolean): MqttServerOptions
Set whether client auth is required
Set whether client auth is required
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setEnabledSecureTransportProtocols(value: Set[String]): MqttServerOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setHost(value: String): MqttServerOptions
Set the host
Set the host
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setIdleTimeout(value: Int): MqttServerOptions
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 NetServerOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setIdleTimeoutUnit(value: TimeUnit): MqttServerOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setJdkSslEngineOptions(value: JdkSSLEngineOptions): MqttServerOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setKeyStoreOptions(value: JksOptions): MqttServerOptions
Set the key/cert options in jks format, aka Java keystore.
Set the key/cert options in jks format, aka Java keystore.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setLogActivity(value: Boolean): MqttServerOptions
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
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setMaxMessageSize(value: Int): MqttServerOptions
Set max MQTT message size
-
def
setOpenSslEngineOptions(value: OpenSSLEngineOptions): MqttServerOptions
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setPemKeyCertOptions(value: PemKeyCertOptions): MqttServerOptions
Set the key/cert store options in pem format.
Set the key/cert store options in pem format.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setPemTrustOptions(value: PemTrustOptions): MqttServerOptions
Set the trust options in pem format
Set the trust options in pem format
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setPfxKeyCertOptions(value: PfxOptions): MqttServerOptions
Set the key/cert options in pfx format.
Set the key/cert options in pfx format.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setPfxTrustOptions(value: PfxOptions): MqttServerOptions
Set the trust options in pfx format
Set the trust options in pfx format
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setPort(value: Int): MqttServerOptions
Set the port
Set the port
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setReceiveBufferSize(value: Int): MqttServerOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setReuseAddress(value: Boolean): MqttServerOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setReusePort(value: Boolean): MqttServerOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setSendBufferSize(value: Int): MqttServerOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setSni(value: Boolean): MqttServerOptions
Set whether the server supports Server Name Indiciation
Set whether the server supports Server Name Indiciation
- Definition Classes
- MqttServerOptions → NetServerOptions
-
def
setSoLinger(value: Int): MqttServerOptions
Set whether SO_linger keep alive is enabled
Set whether SO_linger keep alive is enabled
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setSsl(value: Boolean): MqttServerOptions
Set whether SSL/TLS is enabled
Set whether SSL/TLS is enabled
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTcpCork(value: Boolean): MqttServerOptions
Enable the
TCP_CORK
option - only with linux native transport.Enable the
TCP_CORK
option - only with linux native transport.- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTcpFastOpen(value: Boolean): MqttServerOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport.Enable the
TCP_FASTOPEN
option - only with linux native transport.- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTcpKeepAlive(value: Boolean): MqttServerOptions
Set whether TCP keep alive is enabled
Set whether TCP keep alive is enabled
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTcpNoDelay(value: Boolean): MqttServerOptions
Set whether TCP no delay is enabled
Set whether TCP no delay is enabled
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTcpQuickAck(value: Boolean): MqttServerOptions
Enable the
TCP_QUICKACK
option - only with linux native transport.Enable the
TCP_QUICKACK
option - only with linux native transport.- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setTimeoutOnConnect(value: Int): MqttServerOptions
Set the timeout on CONNECT packet
-
def
setTrafficClass(value: Int): MqttServerOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions → NetworkOptions
-
def
setTrustStoreOptions(value: JksOptions): MqttServerOptions
Set the trust options in jks format, aka Java truststore
Set the trust options in jks format, aka Java truststore
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setUseAlpn(value: Boolean): MqttServerOptions
Set the ALPN usage.
Set the ALPN usage.
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
def
setUsePooledBuffers(value: Boolean): MqttServerOptions
Set whether Netty pooled buffers are enabled
Set whether Netty pooled buffers are enabled
- Definition Classes
- MqttServerOptions → NetServerOptions → TCPSSLOptions
-
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( ... )