org.littleshoot.commom.xmpp
Class PasswordCredentials
java.lang.Object
org.littleshoot.commom.xmpp.PasswordCredentials
- All Implemented Interfaces:
- XmppCredentials
public class PasswordCredentials
- extends Object
- implements XmppCredentials
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordCredentials
public PasswordCredentials(String username,
String password)
PasswordCredentials
public PasswordCredentials(String username,
String password,
String resource)
getUsername
public String getUsername()
- Specified by:
getUsername in interface XmppCredentials
getKey
public String getKey()
- Specified by:
getKey in interface XmppCredentials
createConnection
public org.jivesoftware.smack.XMPPConnection createConnection(org.jivesoftware.smack.ConnectionConfiguration config)
- Specified by:
createConnection in interface XmppCredentials
login
public void login(org.jivesoftware.smack.XMPPConnection conn)
throws org.jivesoftware.smack.XMPPException
- Specified by:
login in interface XmppCredentials
- Throws:
org.jivesoftware.smack.XMPPException
Copyright © 2014 LittleShoot. All Rights Reserved.