Class XmppConnectionTool
- java.lang.Object
-
- org.igniterealtime.smack.examples.XmppConnectionTool
-
public class XmppConnectionTool extends Object
-
-
Field Summary
Fields Modifier and Type Field Description ModularXmppClientToServerConnection
connection
-
Constructor Summary
Constructors Constructor Description XmppConnectionTool(ModularXmppClientToServerConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModularXmppClientToServerConnection
createConnectionFor(String jid, String password, boolean debug)
static XmppConnectionTool
of(String jid, String password, boolean debug)
boolean
purgeOmemoInformation()
-
-
-
Field Detail
-
connection
public final ModularXmppClientToServerConnection connection
-
-
Constructor Detail
-
XmppConnectionTool
public XmppConnectionTool(ModularXmppClientToServerConnection connection)
-
-
Method Detail
-
purgeOmemoInformation
public boolean purgeOmemoInformation() throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
-
of
public static XmppConnectionTool of(String jid, String password, boolean debug) throws XMPPException, SmackException, IOException, InterruptedException
-
createConnectionFor
public static ModularXmppClientToServerConnection createConnectionFor(String jid, String password, boolean debug) throws XmppStringprepException
- Throws:
XmppStringprepException
-
-