public class PowerStateServiceRemote extends AbstractServiceRemote<PowerStateOperationService,rst.domotic.state.PowerStateType.PowerState> implements PowerStateOperationServiceCollection
logger, serviceStateObservableUPDATE_METHOD_PREFIXSERVICE_LABEL| 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() |
Collection<PowerStateOperationService> |
getPowerStateOperationServices() |
activate, addDataObserver, applyAction, deactivate, getFactory, getInternalUnits, getServices, getServiceState, getServiceType, init, init, isActive, isConnected, isDataAvailable, removeDataObserver, setFactory, shutdown, toString, verifyServiceCompatibility, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetPowerStateapplyAction, getUpdateMethodNamedetectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateName, invokeServiceMethodpublic Collection<PowerStateOperationService> getPowerStateOperationServices()
getPowerStateOperationServices in interface PowerStateOperationServiceCollectionprotected 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.NotAvailableExceptionCopyright © 2014–2017 openbase.org. All rights reserved.