public class Cancel extends V2IMessage
V2IMessage.TypemessageType, size| Constructor and Description |
|---|
Cancel(int sourceID,
int destinationID,
int reservationID)
Basic class constructor with all required fields.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReservationID()
Get the ID number of the reservation this message is intended to cancel.
|
String |
toString() |
getImId, getMessageType, getSize, getVinpublic Cancel(int sourceID,
int destinationID,
int reservationID)
sourceID - the ID number of the Vehicle sending this
messagedestinationID - the ID number of the IntersectionManager to
which this message is being sentreservationID - the ID number of the reservation to cancelCopyright © 2013. All rights reserved.