Re: Idea



On Fri, Mar 24, 2000 at 07:40:19AM -0600, Geoff Reedy wrote:
> On Fri, Mar 24, 2000 at 01:42:16PM +0100, Martin Oberzalek <oberzalek@chello.at> said
> > I wrote such kind of client - listener communiction support.
> > 
> > I used the X properties/client messages to support that feature.
> > It uses XAtoms and shared memory to communicate.
> > 
> > How it works:
> >  The "client" application has a function which can be called from any
> >  other application. To register this function an XAtom message is
> >  send through the XServer.
> 
> I'm guessing you mean that you set a property on the window.
  
Currently not. But that's quickly done.

> >  All aplications which want to use the function are getting a
> >  structure with the pointer to a shared memory where the name
> >  of the function is stored; and a callback function.
> >  If the callbackfunction is called a X-message is sent
> >  back to the client application where the real callbackfunction
> >  will called.
> 
> Couldn't it all be done with properties or CORBA, shared memory has the
> problem of only being accessible to clients running on the same machine.  

With properties only? Oh shit, I forgot that. Yes i'll change that.

With CORBA? I think that's like killing a fly with a tank.

-- 

Gruß King Leo

------------------------
| (__)    (__)    (__) |   
| ( oo    (oo)    oo ) |           
| /\_|    /\/\    |_/\ |           
------------------------
|  The Cow is with me  |
------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]