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
Scanner scan = new Scanner(System.in);
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");
String line = scan.nextLine();
if (line.equalsIgnoreCase("p") && state == mystate.RUNNING) {
......
......@@ -15,10 +15,11 @@ Program response:
DisExamplesOpenDis7.PduListenerSaver started...
Beginning pdu save to directory pduLog
* 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
q
Recorder log file closed
* recorder.end(), recording complete.
Ending pdu save to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\pduLog\Pdusave1.dislog
BUILD SUCCESSFUL (total time: 1 minute 51 seconds)
\ No newline at end of file
Ending pdu save to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\pduLog\Pdusave2.dislog
BUILD SUCCESSFUL (total time: 33 seconds)
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