private void Dispatch(DriverMessageBase message)
 {
     DriverLocator.GetDriver(message.DriverId).Process(message);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns the driver that the specified message relates to.
 /// </summary>
 /// <param name="message">The driver related message.</param>
 /// <returns>The driver that the specified message related to.</returns>
 internal LiveDriver GetDriver(DriverMessageBase message)
 {
     return GetDriver(message.DriverId);
 }
Ejemplo n.º 3
0
 private bool IsForMyDriver(DriverMessageBase message)
 {
     return message.DriverId == Model.Id;
 }
 private LiveDriver GetDriver(DriverMessageBase message)
 {
     return Translator.GetDriver(message);
 }