public class LocationRemote extends org.openbase.jul.extension.rsb.com.AbstractConfigurableRemote<rst.domotic.unit.location.LocationDataType.LocationData,rst.domotic.unit.UnitConfigType.UnitConfig> implements Location
| Constructor and Description |
|---|
LocationRemote() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
Future<Void> |
applyAction(rst.domotic.action.ActionConfigType.ActionConfig actionConfig) |
rst.domotic.state.BlindStateType.BlindState |
getBlindState() |
rst.domotic.state.BrightnessStateType.BrightnessState |
getBrightnessState() |
rst.domotic.state.ColorStateType.ColorState |
getColorState() |
String |
getLabel() |
rst.domotic.state.MotionStateType.MotionState |
getMotionState() |
List<String> |
getNeighborLocationIds() |
rst.domotic.state.PowerConsumptionStateType.PowerConsumptionState |
getPowerConsumptionState() |
rst.domotic.state.PowerStateType.PowerState |
getPowerState() |
rst.domotic.state.AlarmStateType.AlarmState |
getSmokeAlarmState() |
rst.domotic.state.SmokeStateType.SmokeState |
getSmokeState() |
rst.domotic.state.StandbyStateType.StandbyState |
getStandbyState() |
rst.domotic.state.TamperStateType.TamperState |
getTamperState() |
rst.domotic.state.TemperatureStateType.TemperatureState |
getTargetTemperatureState() |
rst.domotic.state.TemperatureStateType.TemperatureState |
getTemperatureState() |
void |
notifyDataUpdate(rst.domotic.unit.location.LocationDataType.LocationData data) |
Future<rst.domotic.action.SnapshotType.Snapshot> |
recordSnapshot() |
Future<Void> |
restoreSnapshot(rst.domotic.action.SnapshotType.Snapshot snapshot) |
Future<Void> |
setBlindState(rst.domotic.state.BlindStateType.BlindState state) |
Future<Void> |
setBrightnessState(rst.domotic.state.BrightnessStateType.BrightnessState brightness) |
Future<Void> |
setColorState(rst.domotic.state.ColorStateType.ColorState color) |
void |
setPowerState(rst.domotic.state.PowerStateType.PowerState.State state) |
Future<Void> |
setPowerState(rst.domotic.state.PowerStateType.PowerState state) |
Future<Void> |
setStandbyState(rst.domotic.state.StandbyStateType.StandbyState state) |
Future<Void> |
setTargetTemperatureState(rst.domotic.state.TemperatureStateType.TemperatureState value) |
addConfigObserver, applyConfigUpdate, getConfig, getConfigClass, getConfigField, getConfigField, getId, hasConfigField, init, notifyConfigUpdate, removeConfigObserver, shutdown, supportsConfigFieldactivate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, deactivate, getConnectionState, getData, getDataClass, getDataField, getDataFuture, getPing, getScope, hasDataField, init, init, init, init, init, isActive, isConnected, isDataAvailable, ping, postInit, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, toString, validateActivation, validateData, validateInitialization, waitForConnectionState, waitForConnectionState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetColor, setColor, setColor, setColorgetColor, getHSBColor, getJavaAWTColor, getRGBColorgetUpdateMethodNameactivate, addConnectionStateObserver, addDataObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataFuture, init, isConnected, isDataAvailable, removeConnectionStateObserver, removeDataObserver, requestData, waitForData, waitForDatapublic void notifyDataUpdate(rst.domotic.unit.location.LocationDataType.LocationData data)
throws org.openbase.jul.exception.CouldNotPerformException
notifyDataUpdate in class org.openbase.jul.extension.rsb.com.RSBRemoteService<rst.domotic.unit.location.LocationDataType.LocationData>org.openbase.jul.exception.CouldNotPerformExceptionpublic String getLabel() throws org.openbase.jul.exception.NotAvailableException
getLabel in interface org.openbase.jul.iface.provider.LabelProviderorg.openbase.jul.exception.NotAvailableExceptionpublic void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBRemoteService<rst.domotic.unit.location.LocationDataType.LocationData>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<Void> setBrightnessState(rst.domotic.state.BrightnessStateType.BrightnessState brightness) throws org.openbase.jul.exception.CouldNotPerformException
setBrightnessState in interface org.openbase.bco.dal.lib.layer.service.operation.BrightnessStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.BrightnessStateType.BrightnessState getBrightnessState()
throws org.openbase.jul.exception.NotAvailableException
getBrightnessState in interface org.openbase.bco.dal.lib.layer.service.provider.BrightnessStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setColorState(rst.domotic.state.ColorStateType.ColorState color) throws org.openbase.jul.exception.CouldNotPerformException
setColorState in interface org.openbase.bco.dal.lib.layer.service.operation.ColorStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.ColorStateType.ColorState getColorState()
throws org.openbase.jul.exception.NotAvailableException
getColorState in interface org.openbase.bco.dal.lib.layer.service.provider.ColorStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic void setPowerState(rst.domotic.state.PowerStateType.PowerState.State state)
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionpublic Future<Void> setPowerState(rst.domotic.state.PowerStateType.PowerState state) throws org.openbase.jul.exception.CouldNotPerformException
setPowerState in interface org.openbase.bco.dal.lib.layer.service.operation.PowerStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.PowerStateType.PowerState getPowerState()
throws org.openbase.jul.exception.NotAvailableException
getPowerState in interface org.openbase.bco.dal.lib.layer.service.provider.PowerStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setBlindState(rst.domotic.state.BlindStateType.BlindState state) throws org.openbase.jul.exception.CouldNotPerformException
setBlindState in interface org.openbase.bco.dal.lib.layer.service.operation.BlindStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.BlindStateType.BlindState getBlindState()
throws org.openbase.jul.exception.NotAvailableException
getBlindState in interface org.openbase.bco.dal.lib.layer.service.provider.BlindStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setStandbyState(rst.domotic.state.StandbyStateType.StandbyState state) throws org.openbase.jul.exception.CouldNotPerformException
setStandbyState in interface org.openbase.bco.dal.lib.layer.service.operation.StandbyStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.StandbyStateType.StandbyState getStandbyState()
throws org.openbase.jul.exception.NotAvailableException
getStandbyState in interface org.openbase.bco.dal.lib.layer.service.provider.StandbyStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setTargetTemperatureState(rst.domotic.state.TemperatureStateType.TemperatureState value) throws org.openbase.jul.exception.CouldNotPerformException
setTargetTemperatureState in interface org.openbase.bco.dal.lib.layer.service.operation.TargetTemperatureStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.TemperatureStateType.TemperatureState getTargetTemperatureState()
throws org.openbase.jul.exception.NotAvailableException
getTargetTemperatureState in interface org.openbase.bco.dal.lib.layer.service.provider.TargetTemperatureStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.MotionStateType.MotionState getMotionState()
throws org.openbase.jul.exception.NotAvailableException
getMotionState in interface org.openbase.bco.dal.lib.layer.service.provider.MotionStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.AlarmStateType.AlarmState getSmokeAlarmState()
throws org.openbase.jul.exception.NotAvailableException
getSmokeAlarmState in interface org.openbase.bco.dal.lib.layer.service.provider.SmokeAlarmStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.SmokeStateType.SmokeState getSmokeState()
throws org.openbase.jul.exception.NotAvailableException
getSmokeState in interface org.openbase.bco.dal.lib.layer.service.provider.SmokeStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.TemperatureStateType.TemperatureState getTemperatureState()
throws org.openbase.jul.exception.NotAvailableException
getTemperatureState in interface org.openbase.bco.dal.lib.layer.service.provider.TemperatureStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.PowerConsumptionStateType.PowerConsumptionState getPowerConsumptionState()
throws org.openbase.jul.exception.NotAvailableException
getPowerConsumptionState in interface org.openbase.bco.dal.lib.layer.service.provider.PowerConsumptionStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.TamperStateType.TamperState getTamperState()
throws org.openbase.jul.exception.NotAvailableException
getTamperState in interface org.openbase.bco.dal.lib.layer.service.provider.TamperStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<rst.domotic.action.SnapshotType.Snapshot> recordSnapshot() throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
recordSnapshot in interface org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic Future<Void> restoreSnapshot(rst.domotic.action.SnapshotType.Snapshot snapshot) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
restoreSnapshot in interface org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic Future<Void> applyAction(rst.domotic.action.ActionConfigType.ActionConfig actionConfig) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
applyAction in interface org.openbase.bco.dal.lib.layer.service.provider.ProviderServiceapplyAction in interface org.openbase.bco.dal.lib.layer.service.Serviceorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic List<String> getNeighborLocationIds() throws org.openbase.jul.exception.CouldNotPerformException
getNeighborLocationIds in interface Locationorg.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2015–2016 openbase.org. All rights reserved.