public class StandbyAgent extends AbstractAgentController
| Modifier and Type | Field and Description |
|---|---|
static long |
TIMEOUT
15 min default standby timeout
|
agentTriggerHolderFIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPE| Constructor and Description |
|---|
StandbyAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute() |
protected void |
stop() |
void |
triggerPresenceChange(rst.domotic.unit.location.LocationDataType.LocationData data) |
getEmphasisState, getNewActionDescription, isAutostartEnabled, setEmphasisStatecancelExecution, deactivate, disable, enable, getActivationState, init, isEnabled, isExecuting, setActivationState, updateActivationStateaddDataObserver, addServiceStateObserver, applyAction, applyConfigUpdate, applyDataUpdate, applyDataUpdate, generateTransactionId, getId, getLabel, getServices, getTransactionId, getUnitRegistry, getUnitTemplate, getUnitType, init, init, init, notifyDataUpdate, postInit, registerMethods, registerService, removeDataObserver, removeServiceStateObserver, shutdown, toString, verifyAndUpdateAuthoritygetConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldactivate, addDataObserver, cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getDataFuture, getScope, hasDataField, init, init, init, init, isActive, isDataAvailable, notifyChange, ping, removeDataObserver, requestStatus, setDataField, setDataField, supportsDataField, validateActivation, validateInitialization, validateMiddleware, waitForAvailabilityState, waitForData, waitForData, waitForMiddlewareclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitaddDataObserver, addServiceStateObserver, addServiceStateObserver, getGlobalBoundingBoxCenterPoint3d, getGlobalPosition, getGlobalPositionPoint3d, getGlobalRotation, getGlobalRotationQuat4d, getLocalBoundingBoxCenterPoint3d, getLocalPosition, getLocalRotation, getLocationRegistry, getRootToUnitTransform3D, getRootToUnitTransformation, getRootToUnitTransformationFuture, getTemplate, getTransactionIdByServiceType, getTransform3D, getTransform3DInverse, getType, getUnitBoundingBoxCenterGlobalPoint3d, getUnitBoundingBoxCenterPoint3d, getUnitPosition, getUnitPositionGlobal, getUnitPositionGlobalPoint3d, getUnitRotation, getUnitRotationGlobal, getUnitRotationGlobalQuat4d, getUnitShape, getUnitTemplate, getUnitToRootTransform3D, getUnitToRootTransformation, getUnitToRootTransformationFuture, getUnitType, recordSnapshot, removeDataObserver, removeServiceStateObserver, removeServiceStateObserver, restoreSnapshot, verifyOperationServiceState, verifyOperationServiceStateValueaddDataObserver, getData, getDataClass, getDataFuture, isDataAvailable, removeDataObserver, waitForData, waitForDatasetActivationState, setActivationStategetActivationStateverifyValueRangeverifyEmphasisStategetUpdateMethodNamegetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStateregisterShutdownHook, registerShutdownHook, shutdownpublic 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.CouldNotPerformExceptionInterruptedExceptionprotected void execute()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
execute in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void stop()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
stop in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<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
InterruptedExceptionCopyright © 2015–2018 openbase.org. All rights reserved.