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 |
ACTIVATION_STATEFIELD_SCOPE| Constructor and Description |
|---|
PowerStateSynchroniserAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
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() |
registerMethodsdisable, enable, getActivationState, isExecuting, setActivationStateisEnabledapplyConfigUpdate, getConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldgetIdcloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getScope, hasDataField, init, init, init, init, init, init, isActive, notifyChange, ping, postInit, requestStatus, reset, setDataField, setDataField, shutdown, supportsDataField, toString, validateInitialization, waitForAvailabilityStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetActivationStatepublic 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 AbstractAgentorg.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void activate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void deactivate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected 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–2016 openbase.org. All rights reserved.