Class XMPPTCPConnectionConfiguration.Builder

java.lang.Object
org.jivesoftware.smack.ConnectionConfiguration.Builder<XMPPTCPConnectionConfiguration.Builder,XMPPTCPConnectionConfiguration>
org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration.Builder
Enclosing class:
XMPPTCPConnectionConfiguration

public static final class XMPPTCPConnectionConfiguration.Builder extends org.jivesoftware.smack.ConnectionConfiguration.Builder<XMPPTCPConnectionConfiguration.Builder,XMPPTCPConnectionConfiguration>
A configuration builder for XMPP connections over TCP. Use XMPPTCPConnectionConfiguration.builder() to obtain a new instance and build() to build the configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    setConnectTimeout(int connectTimeout)
    Set how long the socket will wait until a TCP connection is established (in milliseconds).

    Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration.Builder

    addEnabledSaslMechanism, addEnabledSaslMechanism, allowEmptyOrNullUsernames, enableDefaultDebugger, getKeyManagersFrom, performSaslAnonymousAuthentication, performSaslExternalAuthentication, setAuthzid, setCallbackHandler, setCompressionEnabled, setCustomX509TrustManager, setDebuggerFactory, setDnssecMode, setEnabledSSLCiphers, setEnabledSSLProtocols, setHost, setHost, setHostAddress, setHostnameVerifier, setKeyManager, setKeyManagers, setKeystorePath, setKeystoreType, setLanguage, setPKCS11Library, setPort, setPort, setProxyInfo, setResource, setResource, setSecurityMode, setSendPresence, setServiceName, setSocketFactory, setSslContextFactory, setSslContextSecureRandom, setStanzaIdSourceFactory, setUsernameAndPassword, setXmppAddressAndPassword, setXmppAddressAndPassword, setXmppDomain, setXmppDomain

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait