Skip to content
Snippets Groups Projects
Commit 6bd1633f authored by brutzman's avatar brutzman
Browse files

Warning: you must quit when complete, otherwise recorded PDUs are lost!

parent f4978356
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,7 @@ public class PduListenerSaver ...@@ -61,6 +61,7 @@ public class PduListenerSaver
Scanner scan = new Scanner(System.in); Scanner scan = new Scanner(System.in);
while (true) { while (true) {
System.out.println("Warning: you must quit when complete, otherwise recorded PDUs are lost!");
System.out.println("Type p/enter to pause, r/enter to resume, q/enter to quit"); System.out.println("Type p/enter to pause, r/enter to resume, q/enter to quit");
String line = scan.nextLine(); String line = scan.nextLine();
if (line.equalsIgnoreCase("p") && state == mystate.RUNNING) { if (line.equalsIgnoreCase("p") && state == mystate.RUNNING) {
......
...@@ -15,10 +15,11 @@ Program response: ...@@ -15,10 +15,11 @@ Program response:
DisExamplesOpenDis7.PduListenerSaver started... DisExamplesOpenDis7.PduListenerSaver started...
Beginning pdu save to directory pduLog Beginning pdu save to directory pduLog
* recorder.startResume(), state=RUNNING * recorder.startResume(), state=RUNNING
Warning: you must quit when complete, otherwise recorded PDUs are lost!
Type p/enter to pause, r/enter to resume, q/enter to quit Type p/enter to pause, r/enter to resume, q/enter to quit
q q
Recorder log file closed Recorder log file closed
* recorder.end(), recording complete. * recorder.end(), recording complete.
Ending pdu save to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\pduLog\Pdusave1.dislog Ending pdu save to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\pduLog\Pdusave2.dislog
BUILD SUCCESSFUL (total time: 1 minute 51 seconds) BUILD SUCCESSFUL (total time: 33 seconds)
\ No newline at end of file
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