[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A little help for GWorkspace
From: |
Enrico Sersale |
Subject: |
Re: A little help for GWorkspace |
Date: |
Fri, 12 Jan 2001 14:43:04 +0200 (EET) |
On Fri, 12 Jan 2001, Helge Hess wrote:
> Enrico Sersale wrote:
> > > This could be done using a daemon which implements a timer and sends out
> > > notifications (eg using NSDistributedNotificationCenter). One advantage
> > > would be, that this daemon only needs to run stat once if multiple
> > > applications are watching the same path.
> > >
> > > Greetings
> > > Helge
> > >
> >
> > This is exactly wath I want to do. The problem is *how* ;-)
> >
> > Any suggestion?
>
> I think the simplest way is to use DO and DistriNotificationCenter.
>
> You need the daemon, which is a DO server that maintains a list of
> clients and the path's they need to have watched. It periodically (using
> an NSTimer) checks whether those paths changed and broadcasts the change
> to the clients using NSDistributedNotificationCenter.
>
> On the client side I would create a category on NSFileManager (eg
> NSFileManager+1984.m ;-) which does the whole registry stuff (registers
> the client with the server using DO, registers the client for the
> DistriNotiCenter, starts the daemon, if not already running).
>
> I see no particular problem with this, do you have any question on a
> special subtopic ?
>
> Greetings
> Helge
>
I already know all this, but:
<INGENOUS>
I was thinking that that Irix deamon take control of all the file
system, without asking them...
</INGENOUS>
- A little help for GWorkspace, Enrico Sersale, 2001/01/11
- Re: A little help for GWorkspace, Philippe C . D . Robert, 2001/01/11
- Re: A little help for GWorkspace, Jonathan Gapen, 2001/01/11
- Re: A little help for GWorkspace, Jeff Macht, 2001/01/11
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/11
- Re: A little help for GWorkspace, Helge Hess, 2001/01/12
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/12
- Re: A little help for GWorkspace, Helge Hess, 2001/01/12
- Re: A little help for GWorkspace,
Enrico Sersale <=
- Re: A little help for GWorkspace, Helge Hess, 2001/01/12
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/12
- Re: A little help for GWorkspace, Simon Frankau, 2001/01/12
- Re: A little help for GWorkspace, John BEPPU, 2001/01/13
- Re: A little help for GWorkspace, Helge Hess, 2001/01/15
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/15
- Re: A little help for GWorkspace, Helge Hess, 2001/01/15
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/12
- Re: A little help for GWorkspace, Helge Hess, 2001/01/12
- Re: A little help for GWorkspace, Dan Pascu, 2001/01/12