Package | Description |
---|---|
com.mmbnetworks.gatewayapi | |
com.mmbnetworks.gatewayapi.entity | |
com.mmbnetworks.gatewayapi.samples |
Modifier and Type | Method and Description |
---|---|
Optional<Property> |
PropertyCommandData.getCachedProperty()
Get the last known value of the Property.
|
CompletableFuture<Property> |
PropertyCommandData.getFuture()
Gets the CompletableFuture representing the request to read/write the Property.
|
Constructor and Description |
---|
PropertyCommandData(CompletableFuture<Property> future,
Property cachedProperty) |
Constructor and Description |
---|
PropertyCommandData(CompletableFuture<Property> future) |
PropertyCommandData(CompletableFuture<Property> future,
Property cachedProperty) |
Modifier and Type | Method and Description |
---|---|
Collection<Property> |
Device.getCachedProperties()
Gets all currently known
Property objects associated with this device type. |
Optional<Property> |
Device.getCachedProperty(String propertyName)
Gets the
Property with the associated propertyName . |
Collection<Property> |
Device.getCachedProtocolProperties()
Gets all currently known
Property objects associated with this device type. |
Collection<Property> |
Result.getProperties() |
CompletableFuture<Collection<Property>> |
Device.getProperties()
Gets all currently known
Property objects associated with this device type. |
CompletableFuture<Property> |
Device.getProperty(String propertyName)
Gets the
Property with the associated propertyName . |
CompletableFuture<Collection<Property>> |
Device.getProtocolProperties()
Get all currently known raw protocol
Property for this device. |
Optional<Property> |
ThermostatDevice.readCachedFanMode()
Reads the cached
ThermostatDevice.FanMode of the Thermostat. |
Optional<Property> |
ThermostatDevice.readCachedMode()
Reads the cached
ThermostatDevice.SystemMode of the Thermostat. |
Optional<Property> |
ThermostatDevice.readCachedRunningMode()
Reads the cached running mode of the thermostat device.
|
Optional<Property> |
ThermostatDevice.readCachedSetpointLimit(ThermostatDevice.Setpoint setpoint)
Reads the cached setpoint of the thermostat device.
|
Optional<Property> |
LightDevice.readCacheLevel()
Reads the cache level value of this light device.
|
CompletableFuture<Property> |
ThermostatDevice.readFanMode()
Reads the current
ThermostatDevice.FanMode of the Thermostat. |
CompletableFuture<Property> |
LightDevice.readLevel()
Reads the current level of this light device
|
CompletableFuture<Property> |
ThermostatDevice.readMode()
Reads the current
ThermostatDevice.SystemMode of the Thermostat. |
CompletableFuture<Property> |
ThermostatDevice.readRunningMode()
Reads the current running mode of the thermostat.
|
CompletableFuture<Property> |
ThermostatDevice.readSetpointLimit(ThermostatDevice.Setpoint setpoint)
Reads the setpoint.
|
Modifier and Type | Method and Description |
---|---|
PropertyCommandData |
Device.updateProperty(Property property)
Updates the
Property associated with this device. |
Modifier and Type | Method and Description |
---|---|
boolean |
Device.addPropertyUpdateHandler(BiConsumer<Device,Property> handler)
Adds a Property update handler.
|
boolean |
Device.removePropertyUpdateHandler(BiConsumer<Device,Property> handler)
Removes a previously added handler.
|
Constructor and Description |
---|
Result(Status status,
Collection<Property> properties) |
Modifier and Type | Method and Description |
---|---|
void |
SamplePropertyHandler.accept(Device device,
Property property) |
Copyright © 2019. All rights reserved.