edu.cmu.cs.able.probebus.siena
Class SienaSensedProbeEvent

java.lang.Object
  |
  +--edu.cmu.cs.able.probebus.siena.SienaProbeEvent
        |
        +--edu.cmu.cs.able.probebus.siena.SienaSensedProbeEvent
All Implemented Interfaces:
IProbeEvent, ISienaProbeEvent
Direct Known Subclasses:
SienaBandwidthProbeEvent, SienaLatencyProbeEvent, SienaRequestQueueProbeEvent

public abstract class SienaSensedProbeEvent
extends SienaProbeEvent

SienaSensedProbeEvent This is an abstract event that encapsulates the commonality between the three sensed events. Here is the format of the message: 1. Sensor-specific (like Latency, Bandwidth, or ReqQueue) 2. ProbeConfigurationName="LatencyConfig" 3. SystemID="Client2" 4. Event="an xml string" 5. Hostname="gs01.isri.cs.cmu.edu" 6. MethodName="processResponse(java.lang.StringBuffer)" 7. ProbeInfrastructureEventType="Sensed" 8. ProbedClass="runtime.client.ClientThread" 9. ProbedObject="runtime.client.ClientThread" 10. className="runtime.client.ClientThread" 11. threadId="ClientThread"


Field Summary
static java.lang.String CLASS_NAME_KEY
          Notification will have className="runtime.client.ClientThread"
protected  java.lang.String classNameValue
           
static java.lang.String EVENT_KEY
          Notification will have Event="an xml string"
protected  java.lang.String eventValue
           
static java.lang.String HOSTNAME_KEY
          Notification will have Hostname="gs01.isri.cs.cmu.edu"
protected  java.lang.String hostnameValue
           
static java.lang.String METHOD_NAME_KEY
          Notification will have MethodName="processResponse(java.lang.StringBuffer)"
protected  java.lang.String methodNameValue
           
static java.lang.String PI_EVENT_TYPE_KEY
          Notification will have ProbeInfrastructureEventType="Sensed"
protected  java.lang.String piEventTypeValue
           
static java.lang.String PROBE_CONFIGURATION_NAME_KEY
          Notification will have ProbeConfigurationName="LatencyConfig"
static java.lang.String PROBED_CLASS_KEY
          Notification will have ProbedClass="runtime.client.ClientThread"
static java.lang.String PROBED_OBJECT_KEY
          Notification will have ProbedObject="runtime.client.ClientThread"
protected  java.lang.String probedClassValue
           
protected  java.lang.String probedObjectValue
           
static java.lang.String SYSTEM_ID_KEY
          Notification will have SystemID="Client2"
static java.lang.String THREAD_ID_KEY
          Notification will have threadId="ClientThread"
protected  java.lang.String threadIdValue
           
 
Fields inherited from class edu.cmu.cs.able.probebus.siena.SienaProbeEvent
theProbeBus
 
Constructor Summary
SienaSensedProbeEvent(SienaProbeBus pb)
          Constructor for SienaLatencyProbeEvent
 
Method Summary
protected  void setCommonNotificationFields(siena.Notification n)
           
 siena.Notification toNotification()
          Converts this event to a Siena Notification In the current imlementation, this method is not called by probes However, it is needed for test case generation
 
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
 
Methods inherited from interface edu.cmu.cs.able.probebus.siena.ISienaProbeEvent
createFilter
 
Methods inherited from interface edu.cmu.cs.able.probebus.IProbeEvent
equals
 

Field Detail

PROBE_CONFIGURATION_NAME_KEY

public static final java.lang.String PROBE_CONFIGURATION_NAME_KEY
Notification will have ProbeConfigurationName="LatencyConfig"

SYSTEM_ID_KEY

public static final java.lang.String SYSTEM_ID_KEY
Notification will have SystemID="Client2"

EVENT_KEY

public static final java.lang.String EVENT_KEY
Notification will have Event="an xml string"

eventValue

protected java.lang.String eventValue

HOSTNAME_KEY

public static final java.lang.String HOSTNAME_KEY
Notification will have Hostname="gs01.isri.cs.cmu.edu"

hostnameValue

protected java.lang.String hostnameValue

METHOD_NAME_KEY

public static final java.lang.String METHOD_NAME_KEY
Notification will have MethodName="processResponse(java.lang.StringBuffer)"

methodNameValue

protected java.lang.String methodNameValue

PI_EVENT_TYPE_KEY

public static final java.lang.String PI_EVENT_TYPE_KEY
Notification will have ProbeInfrastructureEventType="Sensed"

piEventTypeValue

protected java.lang.String piEventTypeValue

PROBED_CLASS_KEY

public static final java.lang.String PROBED_CLASS_KEY
Notification will have ProbedClass="runtime.client.ClientThread"

probedClassValue

protected java.lang.String probedClassValue

PROBED_OBJECT_KEY

public static final java.lang.String PROBED_OBJECT_KEY
Notification will have ProbedObject="runtime.client.ClientThread"

probedObjectValue

protected java.lang.String probedObjectValue

CLASS_NAME_KEY

public static final java.lang.String CLASS_NAME_KEY
Notification will have className="runtime.client.ClientThread"

classNameValue

protected java.lang.String classNameValue

THREAD_ID_KEY

public static final java.lang.String THREAD_ID_KEY
Notification will have threadId="ClientThread"

threadIdValue

protected java.lang.String threadIdValue
Constructor Detail

SienaSensedProbeEvent

public SienaSensedProbeEvent(SienaProbeBus pb)
Constructor for SienaLatencyProbeEvent
Method Detail

toNotification

public siena.Notification toNotification()
Converts this event to a Siena Notification In the current imlementation, this method is not called by probes However, it is needed for test case generation
Overrides:
toNotification in class SienaProbeEvent
Following copied from class: edu.cmu.cs.able.probebus.siena.SienaProbeEvent
Returns:
this object represented as a Siena Notification

setCommonNotificationFields

protected void setCommonNotificationFields(siena.Notification n)