[Zope3-dev] ObjectHub: Kill the plugins!

Gary Poster gary.poster@zope.com
Mon, 21 Oct 2002 15:33:50 -0400


FWIW, I will be unable to do this today

Sorry

Gary

-----Original Message-----
From: zope3-dev-admin@zope.org [mailto:zope3-dev-admin@zope.org] On
Behalf Of Gary Poster
 
OK, sounds good.  So to address both this and what Jim was
mentioning--that normal events all have their wrapped objects passed to
them on init and so hub events might as well do the same--it sounds like
we need another IHubEvents revision.  Should be easy enough.  I might
have time to shoot one off to the list later today to see if we all
agree.

Gary

-----Original Message-----
From: Steve Alexander [mailto:steve@cat-box.net] 

> This is a significant use case we need to address
> soon, but it essentially comes down to (a) the subscriber being able
to
> know what objecthub sent it the message, so it can send one back, and
> (b) a method on the objecthub for subscribers to call in that
situation
> (some kind of notify variation).  We would probably need (b) anyway,
and
> (a) can be solved in a number of ways that are not tied to plugins.

Ok. I propose that HubEvents contain a reference to their ObjectHub 
(probably an in-context reference) that can be used by subscribers to 
know which objecthub sent the event. This makes a lot of sense to me, as

HubIds are only Ids relative to a particular ObjectHub.

--
Steve Alexander






_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
http://lists.zope.org/mailman/listinfo/zope3-dev