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 Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds a listener that is to be notified when any processor, or any client is updated.voiddisableLink(String linkName) voidenableLink(String linkName) Return the link by the given name or null if there is no such link.List<org.yamcs.protobuf.links.LinkInfo>org.yamcs.protobuf.links.LinkInfogetLinkInfo(String linkName) getLinks()getLinkWithInfo(String linkName) booleanvoidresetCounters(String linkName) voidvoid
-
Constructor Details
-
LinkManager
- Throws:
InitException
-
-
Method Details
-
startLinks
public void startLinks() -
stopLinks
public void stopLinks() -
getLinkWithInfo
-
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
-
getLinkInfo
-
getLinkInfo
-
getLinks
-
getLink
Return the link by the given name or null if there is no such link.
-