public abstract class ConnectionConfiguration extends Object
It is wrapper around SessionObject.
Modifier and Type | Field and Description |
---|---|
protected SessionObject |
sessionObject |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionConfiguration(SessionObject sessionObject) |
Modifier and Type | Method and Description |
---|---|
void |
setCredentialsCallback(CredentialsCallback credentialsCallback)
Set credentials callback;
|
void |
setDomain(String domainName)
Set logical name of XMPP server.
|
void |
setResource(String resource)
Set XMPP resource.
|
void |
setUserJID(BareJID jid)
Set users JabberID.
|
void |
setUserJID(String jid)
Set users JabberID.
|
void |
setUserPassword(String password)
Set users password.
|
protected final SessionObject sessionObject
protected ConnectionConfiguration(SessionObject sessionObject)
public void setCredentialsCallback(CredentialsCallback credentialsCallback)
credentialsCallback
- callbackpublic void setDomain(String domainName)
domainName
- logical name of XMPP server.public void setResource(String resource)
resource
- resourcepublic void setUserJID(BareJID jid)
jid
- JabberIDpublic void setUserJID(String jid)
jid
- JabberIDpublic void setUserPassword(String password)
password
- password. If null
then ANONYMOUS authentication will be used.Copyright © 2006–2023 Tigase. All rights reserved.