|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.opensolaris.os.dtrace.ProcessEvent
public class ProcessEvent
Notification that the state of a target process designated by Consumer.createProcess(String command)
or Consumer.grabProcess(int pid)
has changed.
ConsumerListener.processStateChanged(ProcessEvent e)
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ProcessEvent(java.lang.Object source,
ProcessState p)
Creates a processStateChanged() event to notify listeners of a process
state change. |
Method Summary | |
---|---|
ProcessState |
getProcessState()
Gets the process state. |
java.lang.String |
toString()
Gets a string representation of this event useful for logging and not intended for display. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProcessEvent(java.lang.Object source, ProcessState p)
processStateChanged()
event to notify listeners of a process
state change.
source
- the Consumer
that is the source of this event
java.lang.NullPointerException
- if the given process state is null
Method Detail |
---|
public ProcessState getProcessState()
public java.lang.String toString()
class-name[property1 = value1, property2 = value2]
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |