edu.cmu.cs.able.probebus.test
Class FakeLatencyGauge
java.lang.Object
|
+--edu.cmu.cs.able.probebus.test.FakeLatencyGauge
- All Implemented Interfaces:
- siena.Notifiable
- public class FakeLatencyGauge
- extends java.lang.Object
- implements siena.Notifiable
Method Summary |
protected siena.Filter |
getLatencyFilter()
This is the dirty way to create a filter -- do it yourself |
static void |
main(java.lang.String[] args)
|
void |
notify(siena.Notification n)
Called by Siena when a message is received that we have registered interest in. |
void |
notify(siena.Notification[] e)
Same as simple notify except with multiple Notification events |
protected void |
subscribeToLatencyEvents(siena.Notifiable subscriber)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeLatencyGauge
public FakeLatencyGauge()
- Constructor for FakeLatencyGauge
subscribeToLatencyEvents
protected void subscribeToLatencyEvents(siena.Notifiable subscriber)
getLatencyFilter
protected siena.Filter getLatencyFilter()
- This is the dirty way to create a filter -- do it yourself
notify
public void notify(siena.Notification n)
- Called by Siena when a message is received that we have registered interest in.
Our job, then, is to forward this message along to the interested parties.
- Specified by:
notify
in interface siena.Notifiable
notify
public void notify(siena.Notification[] e)
- Same as simple notify except with multiple Notification events
- Specified by:
notify
in interface siena.Notifiable
main
public static void main(java.lang.String[] args)