public final class IoTDataManager extends IoTManager
IoTManager.IoTIqRequestHandler
Modifier and Type | Method and Description |
---|---|
static IoTDataManager |
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
Get the manger instance responsible for the given connection.
|
void |
installThing(Thing thing)
Install a thing in the manager.
|
java.util.List<IoTFieldsExtension> |
requestMomentaryValuesReadOut(org.jxmpp.jid.EntityFullJid jid)
Try to read out a things momentary values.
|
Thing |
uninstallThing(NodeInfo nodeInfo) |
Thing |
uninstallThing(Thing thing) |
isAllowed, isAutoEnableActive, setAllowNonFriends, setAutoEnableIoTManagers
public static IoTDataManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
connection
- the XMPP connection.public void installThing(Thing thing)
thing
- the thing to install.public java.util.List<IoTFieldsExtension> requestMomentaryValuesReadOut(org.jxmpp.jid.EntityFullJid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
jid
- the full JID of the thing to read data from.org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException