public class PasswordCredentials extends Object implements XmppCredentials
| Constructor and Description |
|---|
PasswordCredentials(String username,
String password) |
PasswordCredentials(String username,
String password,
String resource) |
| Modifier and Type | Method and Description |
|---|---|
org.jivesoftware.smack.XMPPConnection |
createConnection(org.jivesoftware.smack.ConnectionConfiguration config) |
String |
getKey() |
String |
getUsername() |
void |
login(org.jivesoftware.smack.XMPPConnection conn) |
public String getUsername()
getUsername in interface XmppCredentialspublic String getKey()
getKey in interface XmppCredentialspublic org.jivesoftware.smack.XMPPConnection createConnection(org.jivesoftware.smack.ConnectionConfiguration config)
createConnection in interface XmppCredentialspublic void login(org.jivesoftware.smack.XMPPConnection conn)
throws org.jivesoftware.smack.XMPPException
login in interface XmppCredentialsorg.jivesoftware.smack.XMPPExceptionCopyright © 2013 LittleShoot. All Rights Reserved.