public class ArtemisParameterDataLink extends com.google.common.util.concurrent.AbstractService implements ParameterDataLink, 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 |
totalPpCount |
| Constructor and Description |
|---|
ArtemisParameterDataLink(String instance,
String name,
String artemisAddress) |
ArtemisParameterDataLink(String instance,
String name,
YConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
protected void |
doStart() |
protected void |
doStop() |
void |
enable() |
YConfiguration |
getConfig() |
long |
getDataInCount() |
long |
getDataOutCount() |
String |
getDetailedStatus() |
Link.Status |
getLinkStatus() |
String |
getName() |
boolean |
isDisabled() |
void |
onMessage(org.apache.activemq.artemis.api.core.client.ClientMessage msg) |
void |
setParameterSink(ParameterSink ppListener) |
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringprotected volatile long totalPpCount
protected volatile boolean disabled
protected org.slf4j.Logger log
public ArtemisParameterDataLink(String instance, String name, String artemisAddress) throws ConfigurationException
ConfigurationExceptionpublic ArtemisParameterDataLink(String instance, String name, YConfiguration config) throws ConfigurationException
ConfigurationExceptionpublic void setParameterSink(ParameterSink ppListener)
setParameterSink in interface ParameterDataLinkpublic Link.Status getLinkStatus()
getLinkStatus in interface Linkpublic boolean isDisabled()
isDisabled in interface Linkpublic String getDetailedStatus()
getDetailedStatus in interface Linkpublic long getDataInCount()
getDataInCount in interface Linkpublic long getDataOutCount()
getDataOutCount 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.AbstractServicepublic YConfiguration getConfig()
Copyright © 2019 Space Applications Services. All rights reserved.