Class EntityTimeManager

java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.time.EntityTimeManager

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

    • 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, InterruptedException
      Throws:
      org.jivesoftware.smack.SmackException.NoResponseException
      org.jivesoftware.smack.XMPPException.XMPPErrorException
      org.jivesoftware.smack.SmackException.NotConnectedException
      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, InterruptedException, org.jivesoftware.smack.SmackException.FeatureNotSupportedException
      Throws:
      org.jivesoftware.smack.SmackException.NoResponseException
      org.jivesoftware.smack.XMPPException.XMPPErrorException
      org.jivesoftware.smack.SmackException.NotConnectedException
      InterruptedException
      org.jivesoftware.smack.SmackException.FeatureNotSupportedException