public class LocationRemote extends AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData> implements Location
CONNECTION_TIMEOUT, DATA_WAIT_TIMEOUT, logger, LOGGING_TIMEOUT, METHOD_CALL_MAX_TIMEOUT, METHOD_CALL_START_TIMEOUT, METHOD_CALL_TIMEOUT_MULTIPLIER, PING_TIMEOUT, REQUEST_TIMEOUT, scopeUPDATE_METHOD_PREFIX| 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.PresenceStateType.PresenceState |
getPresenceState() |
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() |
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) |
applyConfigUpdate, getLocationConfig, getScope, getTemplate, getType, getUnitRegistry, init, init, init, init, initById, initByLabel, postInitaddConfigObserver, 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, hasDataField, init, init, isActive, isConnected, isDataAvailable, notifyDataUpdate, ping, 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, getRGBColorgetUpdateMethodNameaddConfigObserver, getConfig, getConfigClass, removeConfigObserveractivate, addConnectionStateObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataFuture, isConnected, removeConnectionStateObserver, requestData, waitForData, waitForDatapublic String getLabel() throws org.openbase.jul.exception.NotAvailableException
AbstractUnitRemotegetLabel in interface org.openbase.jul.iface.provider.LabelProvidergetLabel in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>org.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 BrightnessStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.BrightnessStateType.BrightnessState getBrightnessState()
throws org.openbase.jul.exception.NotAvailableException
getBrightnessState in interface BrightnessStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setColorState(rst.domotic.state.ColorStateType.ColorState color) throws org.openbase.jul.exception.CouldNotPerformException
setColorState in interface ColorStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.ColorStateType.ColorState getColorState()
throws org.openbase.jul.exception.NotAvailableException
getColorState in interface 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 PowerStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.PowerStateType.PowerState getPowerState()
throws org.openbase.jul.exception.NotAvailableException
getPowerState in interface PowerStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setBlindState(rst.domotic.state.BlindStateType.BlindState state) throws org.openbase.jul.exception.CouldNotPerformException
setBlindState in interface BlindStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.BlindStateType.BlindState getBlindState()
throws org.openbase.jul.exception.NotAvailableException
getBlindState in interface BlindStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setStandbyState(rst.domotic.state.StandbyStateType.StandbyState state) throws org.openbase.jul.exception.CouldNotPerformException
setStandbyState in interface StandbyStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.StandbyStateType.StandbyState getStandbyState()
throws org.openbase.jul.exception.NotAvailableException
getStandbyState in interface StandbyStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> setTargetTemperatureState(rst.domotic.state.TemperatureStateType.TemperatureState value) throws org.openbase.jul.exception.CouldNotPerformException
setTargetTemperatureState in interface TargetTemperatureStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.TemperatureStateType.TemperatureState getTargetTemperatureState()
throws org.openbase.jul.exception.NotAvailableException
getTargetTemperatureState in interface TargetTemperatureStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.MotionStateType.MotionState getMotionState()
throws org.openbase.jul.exception.NotAvailableException
getMotionState in interface MotionStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.AlarmStateType.AlarmState getSmokeAlarmState()
throws org.openbase.jul.exception.NotAvailableException
getSmokeAlarmState in interface SmokeAlarmStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.SmokeStateType.SmokeState getSmokeState()
throws org.openbase.jul.exception.NotAvailableException
getSmokeState in interface SmokeStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.TemperatureStateType.TemperatureState getTemperatureState()
throws org.openbase.jul.exception.NotAvailableException
getTemperatureState in interface TemperatureStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.PowerConsumptionStateType.PowerConsumptionState getPowerConsumptionState()
throws org.openbase.jul.exception.NotAvailableException
getPowerConsumptionState in interface PowerConsumptionStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.TamperStateType.TamperState getTamperState()
throws org.openbase.jul.exception.NotAvailableException
getTamperState in interface TamperStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic Future<rst.domotic.action.SnapshotType.Snapshot> recordSnapshot() throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
AbstractUnitRemoterecordSnapshot in interface UnitrecordSnapshot in interface org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot>recordSnapshot in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic Future<Void> restoreSnapshot(rst.domotic.action.SnapshotType.Snapshot snapshot) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
restoreSnapshot in interface UnitrestoreSnapshot 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
AbstractUnitRemoteapplyAction in interface ProviderServiceapplyAction in interface ServiceapplyAction in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>actionConfig - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic List<String> getNeighborLocationIds() throws org.openbase.jul.exception.CouldNotPerformException
getNeighborLocationIds in interface Locationorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.PresenceStateType.PresenceState getPresenceState()
throws org.openbase.jul.exception.NotAvailableException
getPresenceState in interface PresenceStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionCopyright © 2014–2017 openbase.org. All rights reserved.