Sidnei da Silva wrote at 2005-9-2 17:06 -0300:
> ...
>| >So:
>| >
>| >  event(IBeforeSubsystem, SubSystem)
>| >  execute SubSystem
>| >  event(IAfterSubsystem, Subsystem)
>| >
>| >Back to my example, 'B' would subscribe to 'event(IAfterSubsystem,
>| >A)', and 'AB' could subscribe to 'event(IBeforeSubsystem, B)'.
>| 
>| You mean the integrator would subscribe "B" to "event(after, A)"
>| and "AB" to "event(before, B)"?
>| 
>| That is near what I am looking for (the individual systems do not
>| know about each other -- only the integrator does).
>
>Yes.
>
>| However, I find it more natural to use numbers on a global
>| scale to coordinate the subsystems than explicit tighing systems
>| on one another.
>
>Can you give a simple example?

In your example, the integrator would assign (e.g.)
"0" to "A", "10" to "B" and "5" to "AB".
Any other numbers "n_a", "n_ab" and "n_b" with
"n_a < n_ab < nb" would do as well.

-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to