public class MqttClientSessionOptions
extends io.vertx.mqtt.MqttClientOptions
DEFAULT_ACK_TIMEOUT, DEFAULT_CLEAN_SESSION, DEFAULT_HOST, DEFAULT_KEEP_ALIVE_INTERVAL, DEFAULT_MAX_INFLIGHT_QUEUE, DEFAULT_MAX_MESSAGE_SIZE, DEFAULT_PORT, DEFAULT_TSL_PORT, DEFAULT_WILL_FLAG, DEFAULT_WILL_QOS, DEFAULT_WILL_RETAIN
DEFAULT_HOSTNAME_VERIFICATION_ALGORITHM, DEFAULT_RECONNECT_ATTEMPTS, DEFAULT_RECONNECT_INTERVAL
DEFAULT_CONNECT_TIMEOUT, DEFAULT_METRICS_NAME, DEFAULT_TRUST_ALL
DEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS, DEFAULT_IDLE_TIMEOUT, DEFAULT_IDLE_TIMEOUT_TIME_UNIT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_SSL_ENGINE, DEFAULT_SSL_HANDSHAKE_TIMEOUT, DEFAULT_SSL_HANDSHAKE_TIMEOUT_TIME_UNIT, DEFAULT_TCP_CORK, DEFAULT_TCP_FAST_OPEN, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_TCP_QUICKACK, DEFAULT_USE_ALPN
Constructor and Description |
---|
MqttClientSessionOptions()
Default constructor
|
MqttClientSessionOptions(MqttClientSessionOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname() |
int |
getPort() |
ReconnectDelayOptions |
getReconnectDelay() |
Optional<String> |
getServerName() |
MqttClientSessionOptions |
setHostname(String hostname) |
MqttClientSessionOptions |
setPort(int port) |
MqttClientSessionOptions |
setReconnectDelay(ReconnectDelayOptions reconnectDelay) |
MqttClientSessionOptions |
setServerName(Optional<String> serverName) |
addCrlPath, addCrlValue, addEnabledCipherSuite, addEnabledSecureTransportProtocol, getAckTimeout, getClientId, getKeepAliveInterval, getMaxInflightQueue, getMaxMessageSize, getPassword, getUsername, getWillMessage, getWillQoS, getWillTopic, hasPassword, hasUsername, isAutoGeneratedClientId, isAutoKeepAlive, isCleanSession, isWillFlag, isWillRetain, setAckTimeout, setAutoGeneratedClientId, setAutoKeepAlive, setCleanSession, setClientId, setIdleTimeout, setKeepAliveInterval, setKeyCertOptions, setKeyStoreOptions, setMaxInflightQueue, setMaxMessageSize, setPassword, setPemKeyCertOptions, setPemTrustOptions, setPfxKeyCertOptions, setPfxTrustOptions, setReceiveBufferSize, setSsl, setTrustAll, setTrustOptions, setTrustStoreOptions, setUsername, setWillFlag, setWillMessage, setWillQoS, setWillRetain, setWillTopic, toString
addNonProxyHost, getApplicationLayerProtocols, getHostnameVerificationAlgorithm, getReconnectAttempts, getReconnectInterval, removeEnabledSecureTransportProtocol, setApplicationLayerProtocols, setConnectTimeout, setEnabledSecureTransportProtocols, setHostnameVerificationAlgorithm, setIdleTimeoutUnit, setJdkSslEngineOptions, setLocalAddress, setLogActivity, setMetricsName, setNonProxyHosts, setOpenSslEngineOptions, setProxyOptions, setReconnectAttempts, setReconnectInterval, setReuseAddress, setReusePort, setSendBufferSize, setSoLinger, setSslEngineOptions, setSslHandshakeTimeout, setSslHandshakeTimeoutUnit, setTcpCork, setTcpFastOpen, setTcpKeepAlive, setTcpNoDelay, setTcpQuickAck, setTrafficClass, setUseAlpn
getConnectTimeout, getLocalAddress, getMetricsName, getNonProxyHosts, getProxyOptions, isTrustAll, toJson
getCrlPaths, getCrlValues, getEnabledCipherSuites, getEnabledSecureTransportProtocols, getIdleTimeout, getIdleTimeoutUnit, getJdkSslEngineOptions, getKeyCertOptions, getKeyStoreOptions, getOpenSslEngineOptions, getPemKeyCertOptions, getPemTrustOptions, getPfxKeyCertOptions, getPfxTrustOptions, getSoLinger, getSslEngineOptions, getSslHandshakeTimeout, getSslHandshakeTimeoutUnit, getTrustOptions, getTrustStoreOptions, isSsl, isTcpCork, isTcpFastOpen, isTcpKeepAlive, isTcpNoDelay, isTcpQuickAck, isUseAlpn
public MqttClientSessionOptions()
public MqttClientSessionOptions(MqttClientSessionOptions other)
other
- the options to copypublic int getPort()
public MqttClientSessionOptions setPort(int port)
public String getHostname()
public MqttClientSessionOptions setHostname(String hostname)
public MqttClientSessionOptions setReconnectDelay(ReconnectDelayOptions reconnectDelay)
public ReconnectDelayOptions getReconnectDelay()
public MqttClientSessionOptions setServerName(Optional<String> serverName)
Copyright © 2018–2021 SmallRye. All rights reserved.