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

library methods renamed

parent 6c69880d
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ public class FetterolfPduListenerSaver {
// try {
PduRecorder recorder = new PduRecorder(outDir, mcast, port);
recorder.startResume();
recorder.start();
mystate state = mystate.RUNNING;
System.out.println("* recorder.startResume(), state=RUNNING, recording in progress...");
Scanner scan = new Scanner(System.in);
......@@ -67,15 +67,15 @@ public class FetterolfPduListenerSaver {
System.out.println("Type p/enter to pause, r/enter to resume, q/enter to stop recording, save and quit");
String line = scan.nextLine();
if (line.equalsIgnoreCase("p") && state == mystate.RUNNING) {
recorder.stopPause();
recorder.pause();
state = mystate.PAUSED;
System.out.println("* recorder.stopPause(), state=PAUSED, recording paused...");
} else if (line.equalsIgnoreCase("r") && state == mystate.PAUSED) {
recorder.startResume();
recorder.resume();
state = mystate.RUNNING;
System.out.println("* recorder.startResume(), state=RUNNING, recording in progress...");
} else if (line.equalsIgnoreCase("q")) {
recorder.end();
recorder.stop();
System.out.println("* recorder.end(), recording complete.");
break;
}
......
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