Many implementations of the Delegate pattern in the wild are actually instantiated once for each caller and provide a separate service object that is being used solely for that caller. This is pretty wasteful since you can reuse a Flex service object for multiple callers use the AsyncToken pattern to sort out which returns go to which callers.
So actually a good way to handle this in PureMVC entirely with Proxies is to register a Proxy that acts as the Delegate. Other Proxies call methods on it passing themselves to be used as the responder.
Why is ths any better than having a Delegate that does the same thing? Because its long-lived, easily retrievable, and only one service object is used.
-=Cliff>
Yes, exactly! I wrestled with this issue several months ago and found a similar solution. I started using Proxy objects as proxies (or delegates) for service endpoints.
One Proxy for the data set being managed (Chair inventory) and another for the service endpoint (Chair service) being managed.
As always though, Cliff did it better than I could have.
One last note, there does not seem to be a good example of using a single Proxy as both invoker and responder of an asynchronous service call. All of the examples use either hard coded VO's or use the delegate pattern.
Cheers,
Derek Basch