@Beta public interface MeterProgrammable extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.util.Collection<Meter>> |
getMeters()
Queries the meters from the device.
|
java.util.concurrent.CompletableFuture<java.lang.Boolean> |
performMeterOperation(MeterOperation meterOp)
Performs a meter operation on this device.
|
handler, setHandler
java.util.concurrent.CompletableFuture<java.lang.Boolean> performMeterOperation(MeterOperation meterOp)
meterOp
- operation to be performedjava.util.concurrent.CompletableFuture<java.util.Collection<Meter>> getMeters()