On 02/12/2010 15:57, Matt Hammond wrote: > Quick thought from me: > > Another way to do it might be to take the same kind of approach as the > carousel component - by having a 'publishondemand' component that you > provide with a factory function for creating your system when it is > required to service subscribers. When the last subscriber unsubscribes, > the publishondemand component would send a shutdown message to the > component it created. > > I guess, from the developer using it, it would look like this: > > def dataSrcFactory(): > return MyComponentThatPublishesToTheBackplane() > > Backplane("MYBACKPLANE") > > PublishOnDemand("MyBackPlane", dataSrcFactory)
I like that. It's got a meaningful name, which means it must be closer to the right way of doing it. -- Jim Easterbrook Senior Research Engineer BBC Research & Development South Lab BBC Centre House 56 Wood Lane London W12 7SB Phone: +44 303 040 9705 Mobile: +44 7590 307002 FAX: +44 20 8811 8815 -- You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to kamae...@googlegroups.com. To unsubscribe from this group, send email to kamaelia+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en.