Class EntityTimeManager


  • public final class EntityTimeManager
    extends org.jivesoftware.smack.Manager
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disable()  
      void enable()  
      static EntityTimeManager getInstanceFor​(org.jivesoftware.smack.XMPPConnection connection)  
      Time getTime​(org.jxmpp.jid.Jid jid)  
      boolean isTimeSupported​(org.jxmpp.jid.Jid jid)  
      static void setAutoEnable​(boolean autoEnable)  
      • Methods inherited from class org.jivesoftware.smack.Manager

        connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
      • Methods inherited from class java.lang.Object

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

      • setAutoEnable

        public static void setAutoEnable​(boolean autoEnable)
      • getInstanceFor

        public static EntityTimeManager getInstanceFor​(org.jivesoftware.smack.XMPPConnection connection)
      • enable

        public void enable()
      • disable

        public void disable()
      • isTimeSupported

        public boolean isTimeSupported​(org.jxmpp.jid.Jid jid)
                                throws org.jivesoftware.smack.SmackException.NoResponseException,
                                       org.jivesoftware.smack.XMPPException.XMPPErrorException,
                                       org.jivesoftware.smack.SmackException.NotConnectedException,
                                       java.lang.InterruptedException
        Throws:
        org.jivesoftware.smack.SmackException.NoResponseException
        org.jivesoftware.smack.XMPPException.XMPPErrorException
        org.jivesoftware.smack.SmackException.NotConnectedException
        java.lang.InterruptedException
      • getTime

        public Time getTime​(org.jxmpp.jid.Jid jid)
                     throws org.jivesoftware.smack.SmackException.NoResponseException,
                            org.jivesoftware.smack.XMPPException.XMPPErrorException,
                            org.jivesoftware.smack.SmackException.NotConnectedException,
                            java.lang.InterruptedException,
                            org.jivesoftware.smack.SmackException.FeatureNotSupportedException
        Throws:
        org.jivesoftware.smack.SmackException.NoResponseException
        org.jivesoftware.smack.XMPPException.XMPPErrorException
        org.jivesoftware.smack.SmackException.NotConnectedException
        java.lang.InterruptedException
        org.jivesoftware.smack.SmackException.FeatureNotSupportedException