public class PowerStateSynchroniserAgent extends AbstractAgent
| Modifier and Type | Class and Description |
|---|---|
static class |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_BEHAVIOUR_KEY |
static String |
SOURCE_KEY |
static String |
TARGET_BEHAVIOUR_KEY |
static String |
TARGET_KEY |
FIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPEinformer, informerWatchDog, logger, RPC_REQUEST_STATUS, scope, SCOPE_SUFFIX_CONTROL, SCOPE_SUFFIX_STATUS, server, serverWatchDog| Constructor and Description |
|---|
PowerStateSynchroniserAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute() |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
getSourceBehaviour() |
org.openbase.bco.dal.remote.unit.UnitRemote |
getSourceRemote() |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
getTargetBehaviour() |
List<org.openbase.bco.dal.remote.unit.UnitRemote> |
getTargetRemotes() |
void |
init(rst.domotic.unit.UnitConfigType.UnitConfig config) |
protected void |
stop() |
isAutostartEnabled, registerMethodsdisable, enable, getActivationState, isExecuting, setActivationStateisEnabledapplyConfigUpdate, getConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldgetIdactivate, addDataObserver, cloneDataBuilder, deactivate, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getScope, hasDataField, init, init, init, init, init, init, isActive, isDataAvailable, notifyChange, ping, postInit, removeDataObserver, requestStatus, reset, setDataField, setDataField, shutdown, supportsDataField, toString, validateInitialization, waitForAvailabilityState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetActivationStategetActivationStateapplyAction, getUpdateMethodNamedetectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateName, invokeServiceMethodgetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStatepublic static final String SOURCE_KEY
public static final String TARGET_KEY
public static final String SOURCE_BEHAVIOUR_KEY
public static final String TARGET_BEHAVIOUR_KEY
public PowerStateSynchroniserAgent()
throws org.openbase.jul.exception.InstantiationException,
org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.InstantiationExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void init(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface AgentControllerinit in interface org.openbase.jul.iface.Initializable<rst.domotic.unit.UnitConfigType.UnitConfig>init in class org.openbase.jul.extension.rsb.com.AbstractExecutableController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder,rst.domotic.unit.UnitConfigType.UnitConfig>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionprotected void execute()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
execute in class org.openbase.jul.extension.rsb.com.AbstractExecutableController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder,rst.domotic.unit.UnitConfigType.UnitConfig>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void stop()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
stop in class org.openbase.jul.extension.rsb.com.AbstractExecutableController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder,rst.domotic.unit.UnitConfigType.UnitConfig>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic org.openbase.bco.dal.remote.unit.UnitRemote getSourceRemote()
public List<org.openbase.bco.dal.remote.unit.UnitRemote> getTargetRemotes()
public PowerStateSynchroniserAgent.PowerStateSyncBehaviour getSourceBehaviour()
public PowerStateSynchroniserAgent.PowerStateSyncBehaviour getTargetBehaviour()
Copyright © 2015–2017 openbase.org. All rights reserved.