Class OmemoClient


  • public class OmemoClient
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      OmemoClient​(org.jxmpp.jid.EntityBareJid jid, java.lang.String password)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleInput​(java.lang.String input)  
      static void main​(java.lang.String[] args)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • OmemoClient

        public OmemoClient​(org.jxmpp.jid.EntityBareJid jid,
                           java.lang.String password)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws org.jivesoftware.smack.XMPPException,
                                org.jivesoftware.smack.SmackException,
                                java.io.IOException,
                                java.lang.InterruptedException,
                                org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
        Throws:
        org.jivesoftware.smack.XMPPException
        org.jivesoftware.smack.SmackException
        java.io.IOException
        java.lang.InterruptedException
        org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
      • start

        public void start()
                   throws org.jivesoftware.smack.XMPPException,
                          org.jivesoftware.smack.SmackException,
                          java.io.IOException,
                          java.lang.InterruptedException,
                          org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
        Throws:
        org.jivesoftware.smack.XMPPException
        org.jivesoftware.smack.SmackException
        java.io.IOException
        java.lang.InterruptedException
        org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
      • stop

        public void stop()
      • handleInput

        public void handleInput​(java.lang.String input)
                         throws org.jivesoftware.smack.SmackException.NotConnectedException,
                                org.jivesoftware.smack.SmackException.NotLoggedInException,
                                java.lang.InterruptedException,
                                java.io.IOException
        Throws:
        org.jivesoftware.smack.SmackException.NotConnectedException
        org.jivesoftware.smack.SmackException.NotLoggedInException
        java.lang.InterruptedException
        java.io.IOException