public class PowerStateServiceRemote extends AbstractServiceRemote<PowerStateOperationService,rst.domotic.state.PowerStateType.PowerState> implements PowerStateOperationServiceCollection
logger, maintainer, serviceStateObservableUPDATE_METHOD_PREFIXSERVICE_LABEL, SERVICE_STATE_PACKAGE| Constructor and Description |
|---|
PowerStateServiceRemote() |
| Modifier and Type | Method and Description |
|---|---|
protected rst.domotic.state.PowerStateType.PowerState |
computeServiceState()
Compute the service state of this service collection if an underlying
service changes.
|
rst.domotic.state.PowerStateType.PowerState |
getPowerState() |
rst.domotic.state.PowerStateType.PowerState |
getPowerState(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType) |
Collection<PowerStateOperationService> |
getPowerStateOperationServices() |
Future<Void> |
setPowerState(rst.domotic.state.PowerStateType.PowerState powerState) |
Future<Void> |
setPowerState(rst.domotic.state.PowerStateType.PowerState powerState,
rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType) |
activate, addDataObserver, applyAction, deactivate, getData, getDataClass, getInternalUnits, getServices, getServices, getServiceState, getServiceType, hasInternalRemotes, init, init, isActive, isConnected, isDataAvailable, isLocked, lock, removeDataObserver, removeUnit, requestData, shutdown, toString, unlock, verifyMaintainability, verifyServiceCompatibility, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyAction, getUpdateMethodNamedetectServiceDataClass, detectServiceMethod, detectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateName, getServiceStateName, invokeOperationServiceMethod, invokeProviderServiceMethod, invokeServiceMethod, invokeServiceMethodactivate, addConnectionStateObserver, getConnectionState, removeConnectionStateObserver, requestDatapublic Collection<PowerStateOperationService> getPowerStateOperationServices()
public Future<Void> setPowerState(rst.domotic.state.PowerStateType.PowerState powerState) throws org.openbase.jul.exception.CouldNotPerformException
setPowerState in interface PowerStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<Void> setPowerState(rst.domotic.state.PowerStateType.PowerState powerState, rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType) throws org.openbase.jul.exception.CouldNotPerformException
setPowerState in interface PowerStateOperationServiceCollectionorg.openbase.jul.exception.CouldNotPerformExceptionprotected rst.domotic.state.PowerStateType.PowerState computeServiceState()
throws org.openbase.jul.exception.CouldNotPerformException
computeServiceState in class AbstractServiceRemote<PowerStateOperationService,rst.domotic.state.PowerStateType.PowerState>org.openbase.jul.exception.CouldNotPerformException - if an underlying service throws an
exceptionpublic rst.domotic.state.PowerStateType.PowerState getPowerState()
throws org.openbase.jul.exception.NotAvailableException
getPowerState in interface PowerStateOperationServiceCollectiongetPowerState in interface PowerStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.state.PowerStateType.PowerState getPowerState(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType)
throws org.openbase.jul.exception.NotAvailableException
getPowerState in interface PowerStateOperationServiceCollectionorg.openbase.jul.exception.NotAvailableExceptionCopyright © 2014–2017 openbase.org. All rights reserved.