JIVE Platform
Release 0.3.1

edu.bsu.cs.jive.events
Interface Event

All Known Subinterfaces:
AssignEvent, CallEvent, EOSEvent, ExceptionEvent, ExitEvent, LoadEvent, NewEvent, ReturnEvent, StartEvent

public interface Event

Superinterface of all jivelog events.

All events have an event number and a thread on which they occurred.


Nested Class Summary
static interface Event.Exporter
          Superinterface for event-specific exporter interfaces.
static interface Event.Importer
          Superinterface of event-specific importer interfaces.
static interface Event.Visitor
          Visitor class for event types.
 
Method Summary
 Object accept(Event.Visitor visitor, Object arg)
          Accept a visitor
 long number()
          Get the sequence number of this event.
 ThreadID thread()
          Get the thread on which this event took place.
 

Method Detail

number

long number()
Get the sequence number of this event. Each event has a unique sequence number with respect to a single execution.

Returns:
event sequence number

thread

ThreadID thread()
Get the thread on which this event took place.

Returns:
thread identifier

accept

Object accept(Event.Visitor visitor,
              Object arg)
Accept a visitor

Parameters:
visitor -
arg -
Returns:
visitation result

JIVE Platform
Release 0.3.1