public class StandbyAgent extends AbstractAgent
| Modifier and Type | Field and Description |
|---|---|
static long |
TIMEOUT
15 min default standby timeout
|
FIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPEinformer, informerWatchDog, logger, RPC_REQUEST_STATUS, scope, SCOPE_SUFFIX_CONTROL, SCOPE_SUFFIX_STATUS, server, serverWatchDog| Constructor and Description |
|---|
StandbyAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
protected void |
execute() |
protected void |
stop() |
void |
triggerPresenceChange(rst.domotic.unit.location.LocationDataType.LocationData data) |
isAutostartEnabled, registerMethodsdisable, enable, getActivationState, init, isExecuting, setActivationStateisEnabledapplyConfigUpdate, getConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldgetIdaddDataObserver, cloneDataBuilder, 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, waitinitsetActivationStategetActivationStateapplyAction, getUpdateMethodNamedetectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateName, invokeServiceMethodgetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStatepublic static final long TIMEOUT
public StandbyAgent()
throws org.openbase.jul.exception.InstantiationException,
org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.InstantiationExceptionorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic 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 triggerPresenceChange(rst.domotic.unit.location.LocationDataType.LocationData data)
throws InterruptedException
InterruptedExceptionpublic 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.CouldNotPerformExceptionInterruptedExceptionCopyright © 2015–2017 openbase.org. All rights reserved.