Hello
I have a couple of algorithms and I want to show the progress while they run. I played with the progress bar and it's okay for my needs.
The progress bar should be pluggable and decoupled of the algorithms.
I am writing to you to ask about good designs for my problem. I hope I haven't expressed the problem in a too abstract way.
The design I have in mind is a kind of observer pattern: the
serialization algorithm publishes information about the run; a specific
listener implements the progress bar for that serialization algorithm,
interpreting the information published.
Thanks,
Martin