edu.cmu.cs.able.probebus.test
Class DeployRespListener
java.lang.Object
|
+--edu.cmu.cs.able.probebus.test.DeployRespListener
- All Implemented Interfaces:
- IProbeConsumer
- public class DeployRespListener
- extends java.lang.Object
- implements IProbeConsumer
George Fairbanks 19 Nov 2001
This example is better than FakeLatencyGauge because it uses the
IProbeConsumer interface rather than hooking directly up to Siena.
This is how actual gauges would work except for the initialization step
below where the SienaProbeBus is directly created.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployRespListener
public DeployRespListener()
onProbeEvent
public void onProbeEvent(IProbeEvent e)
- Callback method
- Specified by:
onProbeEvent
in interface IProbeConsumer
- Following copied from interface:
edu.cmu.cs.able.probebus.IProbeConsumer
- Parameters:
e.
- The event that was reported.
subscribeToLatencyEvents
protected void subscribeToLatencyEvents()
main
public static void main(java.lang.String[] args)