Package org.yamcs.studio.core
Interface YamcsAware
- All Known Implementing Classes:
ArchiveView,AuthorizationStateProvider,CommandHistoryView,CommandStackView,ConnectionStateProvider,ConnectionStringStatusLineContributionItem,DisplayService,EventLog,LinksView,MissionTimeStatusLineContributionItem,ProcessorStateProvider,ProcessorStatusLineContributionItem,PVComposite,YamcsSubscriptionService
public interface YamcsAware
Marks a component as being aware of the global UI state. This state includes the connected instance and/or processor.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidchangeInstance(String instance) The globally activated instance has changed.default voidchangeProcessor(String instance, String processor) The globally activated processor has changed.default voidchangeProcessorInfo(ProcessorInfo processor) default voidCalled when we the global connection to yamcs was succesfully establisheddefault voiddefault voiddefault voidCalled when the yamcs is connection went lostdefault voidupdateClearance(boolean enabled, Mdb.SignificanceInfo.SignificanceLevelType level) default voidupdateTime(Instant time) Actual mission time as reported by Yamcs Server.
-
Method Details
-
onYamcsConnecting
default void onYamcsConnecting() -
onYamcsConnectionFailed
-
onYamcsConnected
default void onYamcsConnected()Called when we the global connection to yamcs was succesfully established -
onYamcsDisconnected
default void onYamcsDisconnected()Called when the yamcs is connection went lost -
changeInstance
The globally activated instance has changed. This is always called on the UI thread. -
changeProcessor
The globally activated processor has changed. This is always called on the UI thread.Note that this method is not called if only the instance has changed.
-
changeProcessorInfo
-
updateTime
Actual mission time as reported by Yamcs Server. If no time is defined (for example when not connected), listeners will receive null -
updateClearance
-