public class FilePollingTmDataLink extends AbstractTmDataLink
Link.Status| Constructor and Description |
|---|
FilePollingTmDataLink(String instance,
String name)
used when no spec is specified, the incomingDir is based on the property with the same name from the yamcs.yaml
|
FilePollingTmDataLink(String yamcsInstance,
String name,
Map<String,Object> args) |
FilePollingTmDataLink(String yamcsInstance,
String name,
String incomingDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disable any data I/O through this link.
|
void |
enable()
Reenable the data transit if disabled by the disable() method.
|
long |
getDataCount() |
String |
getDetailedStatus() |
Link.Status |
getLinkStatus()
Returns the current link status.
|
TmFileReader |
getTmFileReader(String fileName) |
boolean |
isDisabled() |
void |
run() |
void |
setTmSink(TmSink tmSink)
sets the tm processor that should get all the tm packets
|
getSystemParameters, initPreprocessoraddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, shutDown, startAsync, startUp, state, stopAsync, toString, triggerShutdownpublic FilePollingTmDataLink(String yamcsInstance, String name, Map<String,Object> args)
public FilePollingTmDataLink(String yamcsInstance, String name, String incomingDir)
public FilePollingTmDataLink(String instance, String name) throws ConfigurationException
instance - ConfigurationExceptionpublic void run()
run in class AbstractTmDataLinkpublic TmFileReader getTmFileReader(String fileName) throws IOException
IOExceptionpublic String getDetailedStatus()
public void disable()
Linkpublic void enable()
Linkpublic boolean isDisabled()
public Link.Status getLinkStatus()
Linkpublic void setTmSink(TmSink tmSink)
TmPacketDataLinksetTmSink in interface TmPacketDataLinksetTmSink in class AbstractTmDataLinkpublic long getDataCount()
Copyright © 2018 Space Applications Services. All rights reserved.