Re: NSDistributedNotification and Developer Cooperation.. a request for discussion
Re: NSDistributedNotification and Developer Cooperation.. a request for discussion
- Subject: Re: NSDistributedNotification and Developer Cooperation.. a request for discussion
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 10 Oct 2001 15:39:52 -0700
On Wednesday, October 10, 2001, at 02:48 PM, Charles Bennett wrote:
This could give rise to all kinds of cool inter-application
communications and
"fun"
Comments?
This is something I'd never even thought about. I knew that
NSDistributedNotificationCenter existed, but I never even read the class
description. Now that you bring it up, I can see all kinds of uses for
this.
I wonder: what happens to performance if a notification is *really*
big? (E.g, what if the string I post is 20 megs or so?) Also, just how
fast can such notifications be sent? (Every half-second? Every 15
milliseconds? I'm sure it would be fast enough for a "real-time" stock
ticker, but probably not fast enough for an oscilliscope display of an
audio waveform.)
I need to ponder how this functionality overlaps with distributed
objects and application services.
It might be nice if apps normally posted "I just launched", "I'm opening
a file at this path" and "I'm about to quit" messages so that any other
apps that care can take appropriate action. Perhaps we can persuade Ali
and his team to make this an optional behaviour of NSApplication and
NSDocumentManager?
What kinds of messages will PowerGuardian be posting? Power lost, power
restored, periodic battery levels?
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.