Hi,
I'm having trouble working out which is the best way to go about my project. I have a proxy that is providing access to data via a web service. Obviously this is asynchronous, so I have 3 potential listeners that I need to attach - SUCCESS, ERROR and PROGRESS.
This proxy is specifically allowing access to user data, however the web service has been set up to retrieve the data in different specific requests, so there might be 10 or more different sorts of webservice calls that need to be made on demand. It seems like overkill making a unique SUCCESS, ERROR and PROGRESS notification for each of these 10 different request types.
So here's my question, is it bad form to attach mediator based event listeners that are fed to the proxy when it makes the webservice call? These events would then bypass the notification system and communicate directly with the Mediator that has made the request...