Example #1
0
 public void HandleArrival(ArrivalEvent arrivalEvent)
 {
     Port = arrivalEvent.Port;
 }
 public void ArrivalSetsShipsLocation()
 {
     ArrivalEvent ev = new ArrivalEvent(new DateTime(2005,11,1), sfo, kr);
     eventProcessor.Process(ev);
     Assert.AreEqual(sfo, kr.Port);
 }
 public void Process(ArrivalEvent e)
 {
     e.Process ();
     log.Add (e);
 }
Example #4
0
 public void Process(ArrivalEvent e)
 {
     e.Process();
     log.Add(e);
 }
Example #5
0
 public void HandleArrival(ArrivalEvent arrivalEvent)
 {
     Port = arrivalEvent.Port;
 }