OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Push / pull model

[ Lists Home | Date Index | Thread Index ]

> why not to buffer events and run them through different processing pipelines?
> it should be easy to do with pullparser that buffers events and has replay
 > function.

Sure, it CAN be done, I just think the result ends up being ugly and 
fragile, if only because each event-getter has to cooperate in making 
sure that "the next guy" gets his chance.

If you have multiple readers interested in an event, it's easier for the 
reader to push it out, or have a central dispatch push it out, to all 
the readers.  Typical pub/sub stuff.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS