org.intranet.sim.event
Class Event

java.lang.Object
  extended byorg.intranet.sim.event.Event
Direct Known Subclasses:
DoorSensor.ClearEvent, IncrementalUpdateEvent

public abstract class Event
extends java.lang.Object


Nested Class Summary
static class Event.EventTimeComparator
           
 
Field Summary
private  long id
           
private static long maxId
           
private  long time
           
 
Constructor Summary
private Event()
           
  Event(long newTime)
           
 
Method Summary
 long getId()
           
private static long getNextId()
           
 long getTime()
           
abstract  void perform()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

maxId

private static long maxId

id

private long id

time

private long time
Constructor Detail

Event

private Event()

Event

public Event(long newTime)
Method Detail

getNextId

private static long getNextId()

getId

public long getId()

toString

public java.lang.String toString()

getTime

public long getTime()

perform

public abstract void perform()