edu.cmu.cs.able.gauges.Siena.Demo
Class KXProbeHelper
java.lang.Object
|
+--edu.cmu.cs.able.gauges.Siena.Demo.KXProbeHelper
- All Implemented Interfaces:
- edu.cmu.cs.able.probebus.IProbeConsumer
- public class KXProbeHelper
- extends java.lang.Object
- implements edu.cmu.cs.able.probebus.IProbeConsumer
Generic helper for KX compatible probes
Constructor Summary |
KXProbeHelper(java.lang.String cn,
java.lang.String sid,
java.lang.String cl,
edu.cmu.cs.able.probebus.IProbeConsumer rs,
edu.cmu.cs.able.probebus.IProbeBus pb)
Creates new KXProbeHelper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configName
protected java.lang.String configName
systemID
protected java.lang.String systemID
targets
protected java.lang.String targets
reportSubscriber
protected edu.cmu.cs.able.probebus.IProbeConsumer reportSubscriber
UNDEPLOYED
public static final int UNDEPLOYED
DEPLOYED
public static final int DEPLOYED
INSTALLED
public static final int INSTALLED
ACTIVE
public static final int ACTIVE
KXProbeHelper
public KXProbeHelper(java.lang.String cn,
java.lang.String sid,
java.lang.String cl,
edu.cmu.cs.able.probebus.IProbeConsumer rs,
edu.cmu.cs.able.probebus.IProbeBus pb)
- Creates new KXProbeHelper
shutdown
public void shutdown()
setDeployeState
public void setDeployeState(int dState)
activateProbe
public void activateProbe()
installProbe
public void installProbe()
deployProbe
public void deployProbe()
onProbeEvent
public void onProbeEvent(edu.cmu.cs.able.probebus.IProbeEvent e)
- The callback invoked when a probe reports a single event.
- Specified by:
onProbeEvent
in interface edu.cmu.cs.able.probebus.IProbeConsumer
- Parameters:
e.
- The event that was reported.
manageRemoval
public void manageRemoval()