// arrivalEvent.h: the Arrival class, representing arrival events.
// (modified from arrival.h)

#ifndef _ARRIVALEVENT_H
#define _ARRIVALEVENT_H

class ArrivalEvent : public Event {
private:

   // interarrivalTime: the time until the next arrival, from an exponential
   // distribution. 
   // CODE: should change distribution for this method.
   double interarrivalTime ();

public:

   // Constructor.
   // The call "Event (time) is like Java's "super (time)".
   ArrivalEvent (double time) : Event (time) { }

   // makeItHappen: arrival event routine.
   void makeItHappen ();
};

#endif
