Questions about the Backend Interface

Derek Atkins warlord@MIT.EDU
06 Mar 2001 16:43:24 -0500


<linas@linas.org> writes:

> > Hrm.  Then perhaps the best way to 'trigger' an event is to have the
> > server push the new data to the backend, and the backend can then push
> > it into the engine and notify the engine that the data has changed?
> 
> Yes.  Although the last step can be skipped: the backend itself
> can trigger the event mechanism to tell the gui that something changed 
> (using suspend_events and resume_events in gnc-event.c, I beleive).

Ahh, wonderful.  Then all I need to do is create an 'update' callback.
I wonder if it's safe to perform callbacks on single items, or if I should
allow lists of updates to be pushed from the server?

> --linas

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available