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 Manager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
IoTManager.IoTIqRequestHandler
-
Constructor Summary
Constructors Modifier Constructor Description protected
IoTManager(XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isAllowed(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
-
-
-
-
Constructor Detail
-
IoTManager
protected IoTManager(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.
-
-