aim4.driver.coordinator

## Class NoIntersectionCoordinator

- java.lang.Object
- - aim4.driver.coordinator.NoIntersectionCoordinator

- All Implemented Interfaces:
    Coordinator

      public class NoIntersectionCoordinator
      extends Object
      implements Coordinator

  The coordinator when there is no intersection.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoIntersectionCoordinator(AutoVehicleDriverView vehicle, AutoDriver driver)` Create an coordinator to coordinate a vehicle.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `act()` Receive, process, and send messages between Vehicles and IntersectionManagers, and maintain the reservation status in the Vehicle.
    `boolean` | `isTerminated()` Whether of not the coordinator has finished its job.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NoIntersectionCoordinator

          public NoIntersectionCoordinator(AutoVehicleDriverView vehicle,
                                   AutoDriver driver)

      Create an coordinator to coordinate a vehicle.
      Parameters:
        `vehicle` - the Vehicle to coordinate
        `driver` - the driver

  - ### Method Detail

    - #### act

          public void act()

      Receive, process, and send messages between Vehicles and IntersectionManagers, and maintain the reservation status in the Vehicle.
      Specified by:
        `act` in interface `Coordinator`

    - #### isTerminated

          public boolean isTerminated()

      Whether of not the coordinator has finished its job.
      Specified by:
        `isTerminated` in interface `Coordinator`

Copyright © 2013. All rights reserved.