public class LinkManager extends Object
Compared to the old DataLinkInitializer this one:
Modifier and Type | Class and Description |
---|---|
static class |
LinkManager.LinkWithInfo |
Constructor and Description |
---|
LinkManager(String instanceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
addLinkListener(LinkListener l)
Adds a listener that is to be notified when any processor, or any client is updated.
|
void |
disableLink(String linkName) |
void |
enableLink(String linkName) |
Link |
getLink(String linkName)
Return the link by the given name or null if there is no such link.
|
List<org.yamcs.protobuf.LinkInfo> |
getLinkInfo() |
org.yamcs.protobuf.LinkInfo |
getLinkInfo(String linkName) |
Optional<LinkManager.LinkWithInfo> |
getLinkWithInfo(String linkName) |
boolean |
removeLinkListener(LinkListener l) |
void |
resetCounters(String linkName) |
void |
startLinks() |
void |
stopLinks() |
public LinkManager(String instanceName) throws InitException
InitException
public void startLinks()
public void stopLinks()
public Optional<LinkManager.LinkWithInfo> getLinkWithInfo(String linkName)
public boolean addLinkListener(LinkListener l)
public void enableLink(String linkName)
public void disableLink(String linkName)
public void resetCounters(String linkName)
public boolean removeLinkListener(LinkListener l)
public List<org.yamcs.protobuf.LinkInfo> getLinkInfo()
public org.yamcs.protobuf.LinkInfo getLinkInfo(String linkName)
Copyright © 2020 Space Applications Services. All rights reserved.