aim4.msg.v2i
Class Done
java.lang.Object
  
aim4.msg.v2i.V2IMessage
      
aim4.msg.v2i.Done
public class Done
- extends V2IMessage
 
Message sent from a Vehicle to an Intersection Manager to inform it that it
 has completed its reservation.
 
 
 
 
| 
Constructor Summary | 
Done(int sourceID,
     int destinationID,
     int reservationID)
 
          Basic class constructor with all required fields. | 
 
 
 
 
Done
public Done(int sourceID,
            int destinationID,
            int reservationID)
- Basic class constructor with all required fields.
- Parameters:
 sourceID - the ID number of the Vehicle sending this
                              messagedestinationID - the ID number of the IntersectionManager toreservationID - the ID number of the reservation
 
getReservationID
public int getReservationID()
- Get the ID number of the reservation.
 
 
toString
public String toString()
- 
- Overrides:
 toString in class Object
 
 
 
Copyright © 2011. All Rights Reserved.