public class XmppSession
extends java.lang.Object
Constructor and Description |
---|
XmppSession(org.jivesoftware.smack.XMPPConnection connection,
java.lang.String sessionId,
io.vertx.core.Vertx vertx) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(java.lang.String login,
java.lang.String password) |
void |
close() |
static XmppSession |
create(java.lang.String host,
int port,
java.lang.String serviceName,
java.lang.String sessionId,
io.vertx.core.Vertx vertx) |
public XmppSession(org.jivesoftware.smack.XMPPConnection connection, java.lang.String sessionId, io.vertx.core.Vertx vertx)
public void close()
public void authenticate(java.lang.String login, java.lang.String password) throws org.jivesoftware.smack.XMPPException, java.io.IOException, org.jivesoftware.smack.SmackException
org.jivesoftware.smack.XMPPException
java.io.IOException
org.jivesoftware.smack.SmackException
public static XmppSession create(java.lang.String host, int port, java.lang.String serviceName, java.lang.String sessionId, io.vertx.core.Vertx vertx) throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.