java.lang.Object
org.yamcs.management.LinkManager
Service that manages all the data links:
- is endpoint for the /links API calls
- for the commanding links it will only send commands if the link is enabled. If no commanding link is enabled, a negative Sent ACK will be produced.
- TODO: can set exclusive flags - i.e. only one link from a group can be enabled at a time
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated.Access to linkInfo copy will be removed in a future release. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds a listener that is to be notified when any processor, or any client is updated.voidconfigureDataLink(Link link, YConfiguration linkArgs) Connects the links to streamsvoiddisableLink(String linkName) voidenableLink(String linkName) Return the link by the given name or null if there is no such link.getLinks()getLinkWithInfo(String linkName) Deprecated.booleanvoidresetCounters(String linkName) voidvoid
-
Field Details
-
PP_STREAM_KEY
- See Also:
-
-
Constructor Details
-
LinkManager
- Throws:
ValidationException
-
-
Method Details
-
configureDataLink
Connects the links to streamsUpdates the mappings which are provided via API
Can be called dynamically for example when an aggregate link updates its sub-links
-
startLinks
public void startLinks() -
stopLinks
public void stopLinks() -
getLinkWithInfo
Deprecated.UsegetLink(String)instead. -
addLinkListener
Adds a listener that is to be notified when any processor, or any client is updated. Calling this multiple times has no extra effects. Either you listen, or you don't. -
enableLink
-
disableLink
-
resetCounters
-
removeLinkListener
-
getLinks
-
getLink
Return the link by the given name or null if there is no such link. -
getCommandStreams
-