com.azalient.api.b.parking
Interface IParkingListener


public interface IParkingListener

A parking listener is notified of parking events on a parking lane - bay becoming occupied, bay becoming unoccupied


Nested Class Summary
static class IParkingListener.ParkingEvent
          An enumeration of possible parking events
 
Method Summary
 void parkingEvent(IParkingListener.ParkingEvent event, IParkingLane parkingLane, int delta)
          This is called when one or more bays change state from occupied to unoccupied or vice-versa
 

Method Detail

parkingEvent

void parkingEvent(IParkingListener.ParkingEvent event,
                  IParkingLane parkingLane,
                  int delta)
This is called when one or more bays change state from occupied to unoccupied or vice-versa

Parameters:
event - the type of the event
parkingLane - the lane on which the event(s) occurred
delta - the number of bays which changed state