Class IoTManager

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IoTManager​(org.jivesoftware.smack.XMPPConnection connection)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isAllowed​(org.jxmpp.jid.Jid jid)  
      static boolean isAutoEnableActive()  
      void setAllowNonFriends​(boolean allowNonFriends)
      Set whether or not non friends should be able to use the services provided by this manager.
      static void setAutoEnableIoTManagers​(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
    • Constructor Detail

      • IoTManager

        protected IoTManager​(org.jivesoftware.smack.XMPPConnection connection)
    • Method Detail

      • setAutoEnableIoTManagers

        public static void setAutoEnableIoTManagers​(boolean autoEnable)
      • isAutoEnableActive

        public static boolean isAutoEnableActive()
      • setAllowNonFriends

        public void setAllowNonFriends​(boolean allowNonFriends)
        Set whether or not non friends should be able to use the services provided by this manager. Those non-friend entities still need to know the full JID for IQ based requests.
        Parameters:
        allowNonFriends - true to allow everyone to use the services.
      • isAllowed

        protected boolean isAllowed​(org.jxmpp.jid.Jid jid)