public class UdpTmDataLink extends AbstractTmDataLink
Link.Status| Constructor and Description |
|---|
UdpTmDataLink(String instance,
String name,
Map<String,Object> args)
Creates a new UDP TM Data Link
|
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Sets the disabled to true such that getNextPacket ignores the received datagrams
|
void |
enable()
Sets the disabled to false such that getNextPacket does not ignore the received datagrams
|
long |
getDataCount() |
String |
getDetailedStatus()
returns statistics with the number of datagram received and the number of invalid datagrams
|
Link.Status |
getLinkStatus()
Returns the current link status.
|
PacketWithTime |
getNextPacket()
Called to retrieve the next packet.
|
boolean |
isDisabled() |
void |
run() |
void |
setTmSink(TmSink tmSink)
sets the tm processor that should get all the tm packets
|
void |
startUp() |
getSystemParameters, initPreprocessoraddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, shutDown, startAsync, state, stopAsync, toString, triggerShutdownpublic UdpTmDataLink(String instance, String name, Map<String,Object> args) throws ConfigurationException
ConfigurationException - if port is not defined in the configurationpublic void startUp()
throws IOException
startUp in class com.google.common.util.concurrent.AbstractExecutionThreadServiceIOExceptionpublic void setTmSink(TmSink tmSink)
TmPacketDataLinksetTmSink in interface TmPacketDataLinksetTmSink in class AbstractTmDataLinkpublic void run()
run in class AbstractTmDataLinkpublic PacketWithTime getNextPacket()
public Link.Status getLinkStatus()
Linkpublic String getDetailedStatus()
public void disable()
public void enable()
public boolean isDisabled()
public long getDataCount()
Copyright © 2018 Space Applications Services. All rights reserved.