public class StandbyController<C extends StandbyStateOperationService & org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot> & org.openbase.jul.iface.provider.LabelProvider & PowerStateOperationService> extends Object implements org.openbase.jul.iface.Initializable<C>
| Modifier and Type | Field and Description |
|---|---|
static long |
RECORD_SNAPSHOT_TIMEOUT
60 second default timeout to record a snapshot.
|
static long |
RESTORE_SNAPSHOT_TIMEOUT
15 second default timeout to restore a snapshot.
|
| Constructor and Description |
|---|
StandbyController() |
public static final long RECORD_SNAPSHOT_TIMEOUT
public static final long RESTORE_SNAPSHOT_TIMEOUT
public void init(C controller) throws org.openbase.jul.exception.InitializationException, InterruptedException
init in interface org.openbase.jul.iface.Initializable<C extends StandbyStateOperationService & org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot> & org.openbase.jul.iface.provider.LabelProvider & PowerStateOperationService>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void standby()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void wakeup()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionCopyright © 2014–2018 openbase.org. All rights reserved.