|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.able.probebus.siena.SienaProbeEvent | +--edu.cmu.cs.able.probebus.siena.SienaResponseProbeEvent | +--edu.cmu.cs.able.probebus.siena.events.SienaDeployResponseProbeEvent
SienaDeployResponseProbeEvent Here is the format of the message: 1. ResponseType="DeployResponse" Always the same for this event 2. Hostname="gs01.isri.cs.cmu.edu" Changes 3. KXEventType="Response" Always the same for this event 4. ProbeConfigurationName="BWConfig" Probe configuration file name Changes 5. Status="Success" Changes 6. SystemID="Client1" The system id, in other words, the ??? Changes
Field Summary | |
static java.lang.String |
HOSTNAME_KEY
Notification will have Hostname="gs01.isri.cs.cmu.edu" |
static java.lang.String |
KX_EVENT_TYPE_KEY
Notification will have KXEventType="Response" |
protected java.lang.String |
kxEventTypeValue
|
protected DeployResponseProbeEvent |
myProbeEvent
The generic event associated with this Siena-specific event |
static java.lang.String |
PROBE_CONFIGURATION_NAME_KEY
Notification will have ProbeConfigurationName="BWConfig" |
static java.lang.String |
RESPONSE_TYPE_KEY
Notification will have ResponseType="DeployResponse" |
protected java.lang.String |
responseTypeValue
|
static java.lang.String |
STATUS_KEY
Notification will have Status="Success" |
static java.lang.String |
SYSTEM_ID_KEY
Notification will have SystemID="Client1" |
Fields inherited from class edu.cmu.cs.able.probebus.siena.SienaProbeEvent |
theProbeBus |
Constructor Summary | |
SienaDeployResponseProbeEvent(siena.Notification n)
Constructor for SienaLatencyProbeEvent( Notification ) Converts from a Notification to a SienaLatencyProbeEvent |
|
SienaDeployResponseProbeEvent(SienaProbeBus pb,
java.lang.String probeConfigurationName,
java.lang.String systemID,
java.lang.String status,
java.lang.String hostname)
Constructor for SienaLatencyProbeEvent |
Method Summary | |
siena.Filter |
createFilter()
Create a Siena Filter that will only listen to this event For this event, we match based on - response type - KX event type - probe configuration name - system ID |
boolean |
equals(IProbeEvent e)
Equality testing important for writing test cases! use .equals() not == |
DeployResponseProbeEvent |
getProbeEvent()
|
siena.Notification |
toNotification()
Converts this event to a Siena Notification See docs above for message format |
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 |
protected DeployResponseProbeEvent myProbeEvent
public static final java.lang.String RESPONSE_TYPE_KEY
protected java.lang.String responseTypeValue
public static final java.lang.String HOSTNAME_KEY
public static final java.lang.String KX_EVENT_TYPE_KEY
protected java.lang.String kxEventTypeValue
public static final java.lang.String PROBE_CONFIGURATION_NAME_KEY
public static final java.lang.String STATUS_KEY
public static final java.lang.String SYSTEM_ID_KEY
Constructor Detail |
public SienaDeployResponseProbeEvent(SienaProbeBus pb, java.lang.String probeConfigurationName, java.lang.String systemID, java.lang.String status, java.lang.String hostname)
public SienaDeployResponseProbeEvent(siena.Notification n)
Method Detail |
public siena.Notification toNotification()
toNotification
in class SienaProbeEvent
edu.cmu.cs.able.probebus.siena.SienaProbeEvent
public DeployResponseProbeEvent getProbeEvent()
public boolean equals(IProbeEvent e)
public siena.Filter createFilter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |