public class Away extends V2IMessage
V2IMessage.Type
messageType, size
Constructor and Description |
---|
Away(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.
|
String |
toString() |
getImId, getMessageType, getSize, getVin
public Away(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 reservationCopyright © 2013. All rights reserved.