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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIoTManager(org.jivesoftware.smack.XMPPConnection connection) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAllowed(org.jxmpp.jid.Jid jid) static booleanvoidsetAllowNonFriends(boolean allowNonFriends) Set whether or not non friends should be able to use the services provided by this manager.static voidsetAutoEnableIoTManagers(boolean autoEnable) Methods inherited from class org.jivesoftware.smack.Manager
connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
-
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)
-