taxisrus.publicinterface
Interface DispatcherUIInterface


public interface DispatcherUIInterface

DispatcherUIInterface Public interface for the DispatcherUI.

Author:
Team Tsunami

Method Summary
 void confirmReservation(Customer customer, int cab_id, int wait_time)
          Send confirmation info of a new reservation.
 

Method Detail

confirmReservation

public void confirmReservation(Customer customer,
                               int cab_id,
                               int wait_time)
Send confirmation info of a new reservation. After the dispatcher enters a new reservation (requests a cab), the model should confirm that the reservation was processed by providing back to the dispatcher the info relevant to the reservation. A cab_id of 0 will represent that no taxi has been assigned (if the reservation is some future time).
Parameters:
Customer - customer, int cab_id, int wait_time


API documentation for build 958