Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support looping the playback, controlled by a button. #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

opello
Copy link

@opello opello commented Feb 5, 2013

One of my coworkers requested this functionality, and it was easy enough to "hack" in support. After some testing I was reasonably happy with it, and think it's useful.

I'm not sure if it conforms to all that you have in mind for the code base, but I think I conformed to the style nuances that I noticed. I'd be happy to rework it if you thought it useful but not quite what you would have intended.
(Also I noticed after pushing that the commit message wasn't quite worded right in the first explanation sentence, but I'm not too concerned about that I guess.)

Caches the interface name when onStart is called from the timer.
Reorganization of the onStart function to make use of the caching.
Adds a "replay" FXToggleButton to control the looping behavior.
@qrk123
Copy link

qrk123 commented Mar 28, 2014

Thanks for modifying the source. This is a very useful feature for an excellent utility.

If the file can not be opened during onStart, re-enter the stopped state.
Since onStop is responsible for closing pcap_file, call it between each
loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants