Real-Time Java AOCS Framework v1.0 API Specification

RtjAocsFramework.TelecommandManagement
Class ReconfigureTransactionTelecommand

java.lang.Object
  |
  +--RtjAocsFramework.BasicObjects.RootObject
        |
        +--RtjAocsFramework.TelecommandManagement.Telecommand
              |
              +--RtjAocsFramework.TelecommandManagement.TransactionTelecommand
                    |
                    +--RtjAocsFramework.TelecommandManagement.ReconfigureTransactionTelecommand

public class ReconfigureTransactionTelecommand
extends TransactionTelecommand

Transaction telecommand to command a reconfiguration in a reconfiguration manager.

NB: The management of the health status in case of failed reconfiguration attempts giving rise to an unExecute operation may be wrong. Copyright: see the Copyright Notice.

Version:
1.0
Author:
Alessandro Pasetti (University of Konstanz)
See Also:
The Telecommand Framelet Document.

Constructor Summary
ReconfigureTransactionTelecommand(int timeTag, Reconfigurable reconfigurationManager)
          Create the telecommand object by specifying the time tag and the target reconfiguration manager.
 
Method Summary
 short execute()
          Command a reconfiguration and check that the target reconfiguration manager changed its state.
 short unExecute()
          Restore the old configuration and check that the restore operation was successful.
 
Methods inherited from class RtjAocsFramework.TelecommandManagement.TransactionTelecommand
canExecute, getNextTransactionTelecommand, getPreviousTransactionTelecommand, getTelecommandManager, isEnabled, setNextTransactionTelecommand, setPreviousTransactionTelecommand, setTelecommandManager
 
Methods inherited from class RtjAocsFramework.TelecommandManagement.Telecommand
getTelecommandId, getTelecommandTypeId, getTimeTag, setEnable
 
Methods inherited from class RtjAocsFramework.BasicObjects.RootObject
getClassId, getInstanceId, setClassId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconfigureTransactionTelecommand

public ReconfigureTransactionTelecommand(int timeTag,
                                         Reconfigurable reconfigurationManager)
Create the telecommand object by specifying the time tag and the target reconfiguration manager.

Method Detail

execute

public short execute()
Command a reconfiguration and check that the target reconfiguration manager changed its state. If the reconfiguration was not successful, the telecommand is unExecuted.

Overrides:
execute in class TransactionTelecommand
See Also:
Telecommand.execute()

unExecute

public short unExecute()
Restore the old configuration and check that the restore operation was successful.

Overrides:
unExecute in class TransactionTelecommand

Real-Time Java AOCS Framework v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland