Package org.jivesoftware.smackx.iot
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 classIoTManager.IoTIqRequestHandler
-
Constructor Summary
Constructors Modifier Constructor Description protectedIoTManager(org.jivesoftware.smack.XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisAllowed(org.jxmpp.jid.Jid jid)static booleanisAutoEnableActive()voidsetAllowNonFriends(boolean allowNonFriends)Set whether or not non friends should be able to use the services provided by this manager.static voidsetAutoEnableIoTManagers(boolean autoEnable)
-
-
-
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)
-
-