orc.trace.events
Class RootEvent

java.lang.Object
  extended by orc.trace.events.Event
      extended by orc.trace.events.ForkEvent
          extended by orc.trace.events.RootEvent
All Implemented Interfaces:
java.io.Serializable, Locatable, Located, RecordTerm, Term

public class RootEvent
extends ForkEvent

The root event is like a ForkEvent but it is its own thread.

Author:
quark
See Also:
Serialized Form

Field Summary
 
Fields inherited from class orc.trace.events.Event
cursor, location, seq, thread
 
Constructor Summary
RootEvent()
           
 
Method Summary
 ForkEvent getThread()
          A thread is represented by the ForkEvent which spawned it.
 java.lang.String getType()
          Return a string name for the type of event.
 
Methods inherited from class orc.trace.events.ForkEvent
accept
 
Methods inherited from class orc.trace.events.Event
getCursor, getProperty, getSeq, getSourceLocation, getSourceLocationTerm, prettyPrint, prettyPrintProperties, prettyPrintProperty, setCursor, setSeq, setSourceLocation, setThread, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootEvent

public RootEvent()
Method Detail

getType

public java.lang.String getType()
Description copied from class: Event
Return a string name for the type of event. Used in pattern matching.

Overrides:
getType in class ForkEvent

getThread

public ForkEvent getThread()
Description copied from class: Event
A thread is represented by the ForkEvent which spawned it.

Overrides:
getThread in class Event