public class ArtemisTmDataLink extends com.google.common.util.concurrent.AbstractService implements TmPacketDataLink, org.apache.activemq.artemis.api.core.client.MessageHandler
Link.Status| Modifier and Type | Field and Description |
|---|---|
protected boolean |
disabled |
protected org.slf4j.Logger |
log |
protected long |
packetcount |
| Constructor and Description |
|---|
ArtemisTmDataLink(String instance,
String name,
String artemisAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
protected void |
doStart() |
protected void |
doStop() |
void |
enable() |
long |
getDataCount() |
String |
getDetailedStatus() |
Link.Status |
getLinkStatus() |
boolean |
isDisabled() |
void |
onMessage(org.apache.activemq.artemis.api.core.client.ClientMessage msg) |
void |
setTmSink(TmSink tmProcessor) |
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringprotected volatile long packetcount
protected volatile boolean disabled
protected org.slf4j.Logger log
public ArtemisTmDataLink(String instance, String name, String artemisAddress) throws ConfigurationException
ConfigurationExceptionpublic void setTmSink(TmSink tmProcessor)
setTmSink in interface TmPacketDataLinkpublic Link.Status getLinkStatus()
getLinkStatus in interface Linkpublic boolean isDisabled()
isDisabled in interface Linkpublic String getDetailedStatus()
getDetailedStatus in interface Linkpublic long getDataCount()
getDataCount in interface Linkpublic void onMessage(org.apache.activemq.artemis.api.core.client.ClientMessage msg)
onMessage in interface org.apache.activemq.artemis.api.core.client.MessageHandlerprotected void doStart()
doStart in class com.google.common.util.concurrent.AbstractServiceprotected void doStop()
doStop in class com.google.common.util.concurrent.AbstractServiceCopyright © 2018 Space Applications Services. All rights reserved.