public class ConnectionConfiguration extends ConnectionConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionConfiguration.ConnectionType |
sessionObject| Modifier and Type | Method and Description |
|---|---|
void |
setBoshService(String boshService)
Set BOSH Service URL.
|
void |
setConnectionType(ConnectionConfiguration.ConnectionType connectionType)
Set connection type.
|
void |
setDisableTLS(boolean disabled)
Enable or disable TLS usage.
|
void |
setPort(int port)
Set server port.
|
void |
setServer(String server)
Set server hostname.
|
void |
setUseSASL(boolean useSASL)
Enable o disable SASL.
|
setCredentialsCallback, setDomain, setResource, setUserJID, setUserJID, setUserPasswordpublic void setBoshService(String boshService)
bosh.boshService - BOSH service URLpublic void setConnectionType(ConnectionConfiguration.ConnectionType connectionType)
connectionType - connection typepublic void setDisableTLS(boolean disabled)
disabled - true is TLS should be disabled.public void setPort(int port)
port - public void setServer(String server)
server - hostnamepublic void setUseSASL(boolean useSASL)
true.useSASL - false is only non-SASL authentication (XEP-0078)
should be available.Copyright © 2006–2015 Tigase. All rights reserved.