Class XmppTools
java.lang.Object
org.igniterealtime.smack.examples.XmppTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
createAccount
(String xmppDomain, String username, String password) static boolean
createAccount
(DomainBareJid xmppDomain, Localpart username, String password) static void
static void
modularConnectionTest
(ModularXmppClientToServerConnection connection, String messageTo) static void
sendItsAlive
(String to, XMPPConnection connection) static boolean
supportsIbr
(String xmppDomain) static boolean
supportsIbr
(XMPPConnection connection) static boolean
supportsIbr
(DomainBareJid xmppDomain)
-
Constructor Details
-
XmppTools
public XmppTools()
-
-
Method Details
-
main
public static void main(String[] args) throws SmackException, IOException, XMPPException, InterruptedException, KeyManagementException, NoSuchAlgorithmException -
supportsIbr
public static boolean supportsIbr(String xmppDomain) throws SmackException, IOException, XMPPException, InterruptedException, KeyManagementException, NoSuchAlgorithmException -
supportsIbr
public static boolean supportsIbr(DomainBareJid xmppDomain) throws SmackException, IOException, XMPPException, InterruptedException, KeyManagementException, NoSuchAlgorithmException -
supportsIbr
public static boolean supportsIbr(XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException -
createAccount
public static boolean createAccount(String xmppDomain, String username, String password) throws KeyManagementException, NoSuchAlgorithmException, SmackException, IOException, XMPPException, InterruptedException -
createAccount
public static boolean createAccount(DomainBareJid xmppDomain, Localpart username, String password) throws KeyManagementException, NoSuchAlgorithmException, SmackException, IOException, XMPPException, InterruptedException -
modularConnectionTest
public static void modularConnectionTest(ModularXmppClientToServerConnection connection, String messageTo) throws XMPPException, SmackException, IOException, InterruptedException -
sendItsAlive
public static void sendItsAlive(String to, XMPPConnection connection) throws XmppStringprepException, SmackException.NotConnectedException, InterruptedException
-