public interface XmppP2PClient<T>
extends org.lastbamboo.common.p2p.P2PClient<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageListener(org.jivesoftware.smack.MessageListener ml) |
org.jivesoftware.smack.XMPPConnection |
getXmppConnection() |
void |
handleClose() |
boolean |
isLoggedOut() |
String |
login(String user,
String pass,
String serverHost,
int serverPort,
String serviceName) |
String |
login(String user,
String pass,
String serverHost,
int serverPort,
String serviceName,
String id) |
String |
login(XmppCredentials credentials) |
String |
login(XmppCredentials credentials,
String serverHost,
int serverPort,
String serviceName) |
void |
stop() |
addConnectionListener, login, login, logoutorg.jivesoftware.smack.XMPPConnection getXmppConnection()
void addMessageListener(org.jivesoftware.smack.MessageListener ml)
boolean isLoggedOut()
void handleClose()
void stop()
String login(String user, String pass, String serverHost, int serverPort, String serviceName) throws IOException, CredentialException
IOExceptionCredentialExceptionString login(String user, String pass, String serverHost, int serverPort, String serviceName, String id) throws IOException, CredentialException
IOExceptionCredentialExceptionString login(XmppCredentials credentials) throws IOException, CredentialException
IOExceptionCredentialExceptionString login(XmppCredentials credentials, String serverHost, int serverPort, String serviceName) throws IOException, CredentialException
IOExceptionCredentialExceptionCopyright © 2013 LittleShoot. All Rights Reserved.