Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.altara.mars.engine
Class ProbeEvent  view ProbeEvent download ProbeEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.altara.mars.engine.ProbeEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StatusChangeEvent

public class ProbeEvent
extends java.util.EventObject

Represents a single run of a probe. Used to notify user-side components that a probe has been run and a service's status updated. This is useful to show the user something is happening, or for really nitpicky logging.


Field Summary
private  org.altara.mars.Status newStatus
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProbeEvent(org.altara.mars.Service service, org.altara.mars.Status newStatus)
           
 
Method Summary
 org.altara.mars.Status getNewStatus()
           
 org.altara.mars.Service getService()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

newStatus

private org.altara.mars.Status newStatus
Constructor Detail

ProbeEvent

public ProbeEvent(org.altara.mars.Service service,
                  org.altara.mars.Status newStatus)
Method Detail

getService

public org.altara.mars.Service getService()

getNewStatus

public org.altara.mars.Status getNewStatus()