edu.cmu.cs.able.probebus.siena.events
Class SienaStatusProbeEvent

java.lang.Object
  |
  +--edu.cmu.cs.able.probebus.siena.SienaProbeEvent
        |
        +--edu.cmu.cs.able.probebus.siena.events.SienaStatusProbeEvent
All Implemented Interfaces:
IProbeEvent, ISienaProbeEvent

public class SienaStatusProbeEvent
extends SienaProbeEvent


Field Summary
protected  StatusProbeEvent myProbeEvent
           
static java.lang.String PI_EVENT_TYPE_KEY
           
static java.lang.String PI_EVENT_TYPE_VALUE
           
static java.lang.String PROBE_CONFIGURATION_NAME_KEY
           
static java.lang.String SYSTEM_ID_KEY
           
 
Fields inherited from class edu.cmu.cs.able.probebus.siena.SienaProbeEvent
theProbeBus
 
Constructor Summary
SienaStatusProbeEvent(siena.Notification n)
           
SienaStatusProbeEvent(SienaProbeBus pb, java.lang.String systemID)
          Creates new SienaStatusProbeEvent
 
Method Summary
 siena.Filter createFilter()
          Create a siena Filter that matches this event
 boolean equals(IProbeEvent o)
          needed for testing purposes; handy generally
 StatusProbeEvent getProbeEvent()
           
 siena.Notification toNotification()
          Convert an event into a Siena Notification
 
Methods inherited from class edu.cmu.cs.able.probebus.siena.SienaProbeEvent
dispatch, getProbeBus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myProbeEvent

protected StatusProbeEvent myProbeEvent

PROBE_CONFIGURATION_NAME_KEY

public static final java.lang.String PROBE_CONFIGURATION_NAME_KEY

PI_EVENT_TYPE_KEY

public static final java.lang.String PI_EVENT_TYPE_KEY

PI_EVENT_TYPE_VALUE

public static final java.lang.String PI_EVENT_TYPE_VALUE

SYSTEM_ID_KEY

public static final java.lang.String SYSTEM_ID_KEY
Constructor Detail

SienaStatusProbeEvent

public SienaStatusProbeEvent(SienaProbeBus pb,
                             java.lang.String systemID)
Creates new SienaStatusProbeEvent

SienaStatusProbeEvent

public SienaStatusProbeEvent(siena.Notification n)
Method Detail

toNotification

public siena.Notification toNotification()
Description copied from interface: ISienaProbeEvent
Convert an event into a Siena Notification
Overrides:
toNotification in class SienaProbeEvent
Following copied from class: edu.cmu.cs.able.probebus.siena.SienaProbeEvent
Returns:
this object represented as a Siena Notification

getProbeEvent

public StatusProbeEvent getProbeEvent()

equals

public boolean equals(IProbeEvent o)
Description copied from interface: IProbeEvent
needed for testing purposes; handy generally

createFilter

public siena.Filter createFilter()
Description copied from interface: ISienaProbeEvent
Create a siena Filter that matches this event