public class LocationRemote extends AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData> implements Location
CONNECTION_TIMEOUT, DATA_WAIT_TIMEOUT, logger, LOGGING_TIMEOUT, maintainer, METHOD_CALL_MAX_TIMEOUT, METHOD_CALL_START_TIMEOUT, METHOD_CALL_TIMEOUT_MULTIPLIER, PING_TIMEOUT, REQUEST_TIMEOUT, scopeDEFAULT_NEUTRAL_WHITE, NEUTRAL_WHITE_KEYUPDATE_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.unit.UnitConfigType.UnitConfig |
applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config) |
void |
deactivate() |
String |
getLabel() |
List<String> |
getNeighborLocationIds() |
ServiceRemote |
getServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) |
Future<rst.domotic.action.SnapshotType.Snapshot> |
recordSnapshot() |
Future<rst.domotic.action.SnapshotType.Snapshot> |
recordSnapshot(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType) |
Future<Void> |
restoreSnapshot(rst.domotic.action.SnapshotType.Snapshot snapshot) |
getLocationConfig, getScope, getTemplate, getType, getUnitRegistry, init, init, init, init, initById, initByLabel, isEnabled, postInit, waitForData, waitForDataaddConfigObserver, getConfig, getConfigClass, getConfigField, getConfigField, getId, hasConfigField, init, notifyConfigUpdate, removeConfigObserver, shutdown, supportsConfigFieldactivate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataField, getPing, hasDataField, init, init, isActive, isConnected, isDataAvailable, isLocked, lock, notifyDataUpdate, ping, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, setMessageProcessor, toString, unlock, validateActivation, validateData, validateInitialization, verifyMaintainability, waitForConnectionState, waitForConnectionStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlindState, getBlindState, getBrightnessState, getBrightnessState, getColorState, getColorState, getIlluminanceState, getIlluminanceState, getMotionState, getMotionState, getPowerConsumptionState, getPowerConsumptionState, getPowerState, getPowerState, getPresenceState, getSmokeAlarmState, getSmokeAlarmState, getSmokeState, getSmokeState, getStandbyState, getStandbyState, getSupportedServiceTypes, getTamperState, getTamperState, getTargetTemperatureState, getTargetTemperatureState, getTemperatureState, getTemperatureState, setBlindState, setBlindState, setBrightnessState, setBrightnessState, setColorState, setColorState, setPowerState, setPowerState, setPowerState, setPowerState, setStandbyState, setStandbyState, setTargetTemperatureState, setTargetTemperatureStategetTemplate, getType, verifyOperationServiceState, verifyOperationServiceStateValueaddDataObserver, getData, getDataClass, isDataAvailable, removeDataObserver, waitForData, waitForDatasetColor, setColor, setColor, setColor, setNeutralWhitegetColor, getHSBColor, getJavaAWTColor, getRGBColorgetUpdateMethodNameaddConfigObserver, getConfig, getConfigClass, removeConfigObserveractivate, addConnectionStateObserver, getConnectionState, getDataFuture, isConnected, removeConnectionStateObserver, requestDataregisterShutdownHook, registerShutdownHook, shutdownpublic 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 rst.domotic.unit.UnitConfigType.UnitConfig applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
AbstractUnitRemoteapplyConfigUpdate in interface org.openbase.jul.iface.Configurable<String,rst.domotic.unit.UnitConfigType.UnitConfig>applyConfigUpdate in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>config - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
AbstractUnitRemoteactivate in interface org.openbase.jul.iface.Activatableactivate in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void deactivate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.jul.extension.rsb.com.RSBRemoteService<rst.domotic.unit.location.LocationDataType.LocationData>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.action.SnapshotType.Snapshot> recordSnapshot() throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
AbstractUnitRemoterecordSnapshot in interface Unit<rst.domotic.unit.location.LocationDataType.LocationData>recordSnapshot 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<rst.domotic.action.SnapshotType.Snapshot> recordSnapshot(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
recordSnapshot in interface Locationorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic Future<Void> restoreSnapshot(rst.domotic.action.SnapshotType.Snapshot snapshot) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
restoreSnapshot in interface Unit<rst.domotic.unit.location.LocationDataType.LocationData>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
AbstractUnitRemoteapplyAction in interface ProviderServiceapplyAction in interface ServiceapplyAction in class AbstractUnitRemote<rst.domotic.unit.location.LocationDataType.LocationData>actionConfig - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic ServiceRemote getServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType)
getServiceRemote in interface Locationpublic List<String> getNeighborLocationIds() throws org.openbase.jul.exception.CouldNotPerformException
getNeighborLocationIds in interface Locationorg.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2017 openbase.org. All rights reserved.