Skip to content
Snippets Groups Projects
Commit 82ff727d authored by Brutzman, Don's avatar Brutzman, Don
Browse files

// TODO experimental, add to generator as a commented-out diagnostic; consider...

// TODO experimental, add to generator as a commented-out diagnostic; consider adding diagnostic mode
parent a7f68836
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,7 @@ public class DisThreadedNetIF
sender.setPriority(Thread.NORM_PRIORITY);
sender.start();
}
int counter = 0;
private Runnable receiveThread = () -> {
DatagramPacket packet;
......@@ -198,7 +199,11 @@ public class DisThreadedNetIF
Pdu pdu = pduFactory.createPdu(packet.getData());
if (pdu != null)
{
counter++; // TODO experimental, add to generator as a commented-out diagnostic; consider adding diagnostic mode
System.err.println(counter + ". received " + pdu.getPduType().name());
toListeners(pdu);
}
}
}
catch (IOException ex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment