lopezio / wosaic

Automatically exported from code.google.com/p/wosaic
GNU General Public License v2.0
2 stars 0 forks source link

Fix encapsulation issues between Controller, Processor, and Flickr #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem:  Currently there are some circular references between the Controller 
class, FlickrServices, 
and JAIProcessor.  Best practices dictate that we should try to make these 
components as 
independent as possible and provide clean interfaces for interaction.

Specifically, FlickrServices and JAIProcessor use a references to Controller to 
control their thread 
state, and access a shared buffer.

Proposed Solution: Create a shared buffer object that the Controller can 
instantiate and pass to each 
component.

Original issue reported on code.google.com by csven...@gmail.com on 16 Nov 2007 at 5:51

GoogleCodeExporter commented 9 years ago
I implemented the proposed solution, and added support for waiting/notifying on 
the part of the JAIProcessor 
and the FlickrServices thread.

Original comment by csven...@gmail.com on 18 Nov 2007 at 10:13