RtjAocsFramework.AocsEvent
Class TelecommandEventRepository
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.AocsEvent.EventRepository
|
+--RtjAocsFramework.AocsEvent.TelecommandEventRepository
- All Implemented Interfaces:
- Configurable, ConsistencyCheckable, EventListener, Resettable, TelecommandListener, Telemeterable
- public class TelecommandEventRepository
- extends EventRepository
- implements TelecommandListener
Event repository for Telecommand events.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
- See Also:
TelecommandEvent,
The Intercomponent Communication Document.
| Methods inherited from class RtjAocsFramework.AocsEvent.EventRepository |
doConsistencyCheck, getCounter, getListSize, getRecoveryAction, getTelemetryImageLength, insert, isConfigured, isIterationEnded, latest, previous, reset, resetConfiguration, setEvent, setRecoveryAction, setTelemetryFormat, writeToTelemetry |
| Methods inherited from class RtjAocsFramework.BasicObjects.AocsObject |
addConfigurationListener, addFailureListener, finalize, getAocsClock, getConfigurationListenerList, getCycle, getDestructionRecoveryAction, getFailureListenerList, getSystemManager, getTelemetryFormat, getTime, removeConfigurationListener, removeFailureListener, reportConfigurationEvent, reportFailure, resetStaticConfiguration, setAocsClock, setDestructionRecoveryAction, setMaxNumberOfConfigurationListeners, setMaxNumberOfFailureListeners, setSystemManager |
TelecommandEventRepository
public TelecommandEventRepository()
processTelecommandEvent
public void processTelecommandEvent(TelecommandEvent evt)
- Description copied from interface:
TelecommandListener
- This method is called when a Telecommand has occurred.
The information about the failure is contained in the argument event. The
argument event however should not be used by the listener. The listener
should retrieve any information it needs from the event and then release
it.
- Specified by:
processTelecommandEvent in interface TelecommandListener
setRepositorySize
public void setRepositorySize(int n)
- Initialization method to set the capacity of the repository.
This method should only be called once before the components is used.
Attempts to call it more than once result in a configuration report
being generated.
- Overrides:
setRepositorySize in class EventRepository
latestTelecommandEvent
public TelecommandEvent latestTelecommandEvent()
- Type-safe iterator.
Wraps latestEvent method in super class adding cast from Object to
TelecommandEvent.
previousTelecommandEvent
public TelecommandEvent previousTelecommandEvent()
- Type-safe iterator.
Wraps previousEvent method in super class adding cast from Object to
TelecommandEvent.
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland