|
@@ -26,11 +26,12 @@ class ReceiverThread(Thread):
|
|
|
msg = self.Socket.recv(zmq.NOBLOCK)
|
|
|
|
|
|
|
|
|
- report = AircraftReport_pb2.AircraftReport()
|
|
|
+ report = Communication_pb2.AircraftUpdate()
|
|
|
report.ParseFromString(msg)
|
|
|
|
|
|
-
|
|
|
- self.AMAN.updateAircraftReport(report)
|
|
|
+
|
|
|
+ for inbound in report.reports:
|
|
|
+ self.AMAN.updateAircraftReport(inbound)
|
|
|
|
|
|
except zmq.ZMQError as error:
|
|
|
if zmq.EAGAIN == error.errno:
|