[dev] Notification question

Jon Parise jon at horde.org
Fri Jan 10 16:54:08 PST 2003


On Fri, Jan 10, 2003 at 03:31:17PM -0500, Chuck Hagenbuch wrote:

> > Are you thinking that the Notification_Event object is going to
> > also store the type of event?  -- i.e. meaning that the type
> > parameter to push will not be relevant?  I guess the question is
> > whether it would be important to have events know what type they
> > are (seems to me that it would be a good idea, though maybe only
> > the listeners are really concerned with this...?).
> 
> I hadn't really considered this; my instinct is to say that events
> shouldn't really care what type they are.

Agreed.  You can always extend the Notification_Event object to create
a new class capable of describing a specific type of event.

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the dev mailing list