Class IoTManager

java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.iot.IoTManager
Direct Known Subclasses:
IoTControlManager, IoTDataManager

public abstract class IoTManager extends org.jivesoftware.smack.Manager
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected boolean
    isAllowed(org.jxmpp.jid.Jid jid)
     
    static boolean
     
    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 Details

    • IoTManager

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

    • 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)