Package org.jivesoftware.smack.c2s
Class ModularXmppClientToServerConnectionConfiguration.Builder
- java.lang.Object
-
- org.jivesoftware.smack.ConnectionConfiguration.Builder<ModularXmppClientToServerConnectionConfiguration.Builder,ModularXmppClientToServerConnectionConfiguration>
-
- org.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionConfiguration.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModularXmppClientToServerConnectionConfiguration.Builder
addModule(Class<? extends ModularXmppClientToServerConnectionModuleDescriptor> moduleClass)
void
addModule(ModularXmppClientToServerConnectionModuleDescriptor connectionModule)
ModularXmppClientToServerConnectionConfiguration
build()
ModularXmppClientToServerConnectionConfiguration.Builder
failOnUnknownStates()
Fail if there are unknown states in Smack's state descriptor graph.protected ModularXmppClientToServerConnectionConfiguration.Builder
getThis()
ModularXmppClientToServerConnectionConfiguration.Builder
removeAllModules()
ModularXmppClientToServerConnectionConfiguration.Builder
removeModule(Class<? extends ModularXmppClientToServerConnectionModuleDescriptor> moduleClass)
<B extends ModularXmppClientToServerConnectionModuleDescriptor.Builder>
Bwith(Class<? extends B> moduleDescriptorBuilderClass)
-
Methods inherited from class org.jivesoftware.smack.ConnectionConfiguration.Builder
addEnabledSaslMechanism, addEnabledSaslMechanism, allowEmptyOrNullUsernames, enableDefaultDebugger, getKeyManagersFrom, performSaslAnonymousAuthentication, performSaslExternalAuthentication, setAuthzid, setCallbackHandler, setCompressionEnabled, setCustomSSLContext, setCustomX509TrustManager, setDebuggerFactory, setDnssecMode, setEnabledSSLCiphers, setEnabledSSLProtocols, setHost, setHost, setHostAddress, setHostAddressByNameOrIp, setHostnameVerifier, setKeyManager, setKeyManagers, setKeystorePath, setKeystoreType, setLanguage, setPKCS11Library, setPort, setPort, setProxyInfo, setResource, setResource, setSecurityMode, setSendPresence, setServiceName, setSocketFactory, setSslContextFactory, setSslContextSecureRandom, setStanzaIdSourceFactory, setUsernameAndPassword, setXmppAddressAndPassword, setXmppAddressAndPassword, setXmppDomain, setXmppDomain
-
-
-
-
Method Detail
-
build
public ModularXmppClientToServerConnectionConfiguration build()
-
addModule
public void addModule(ModularXmppClientToServerConnectionModuleDescriptor connectionModule)
-
addModule
public ModularXmppClientToServerConnectionConfiguration.Builder addModule(Class<? extends ModularXmppClientToServerConnectionModuleDescriptor> moduleClass)
-
with
public <B extends ModularXmppClientToServerConnectionModuleDescriptor.Builder> B with(Class<? extends B> moduleDescriptorBuilderClass)
-
removeModule
public ModularXmppClientToServerConnectionConfiguration.Builder removeModule(Class<? extends ModularXmppClientToServerConnectionModuleDescriptor> moduleClass)
-
removeAllModules
public ModularXmppClientToServerConnectionConfiguration.Builder removeAllModules()
-
failOnUnknownStates
public ModularXmppClientToServerConnectionConfiguration.Builder failOnUnknownStates()
Fail if there are unknown states in Smack's state descriptor graph. This method is used mostly for testing the internals of Smack. Users can safely ignore it.- Returns:
- a reference to this builder.
-
-