public inbox for
 help / color / mirror / Atom feed
* finishing Host.requestRefresh
@ 2008-01-24 14:52 Andrew Cagney
  0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2008-01-24 14:52 UTC (permalink / raw)
  To: Sami Wagiaalla, Phil Muldoon; +Cc: frysk


I've been looking at Host.requestRefresh which was one of those "we need 
to re-think" interfaces.  Looking at how it is used by the gnome code - 
to maintain a process list that is refreshed occasionally - I'd like to 
propose the following as the interface:

the request:
    Host.requestRefresh(Set myCurrentProcessList, Set 
myCurrentDaemonList, HostRefreshBuilder builder)
the response (builder): addedProcesses, Set deletedProcesses, 
Set addedDaemons);
    -- if a daemon is deleted it is in deletedProcesses so 
deletedDaemons would be redundant :-)

this way the gnome process pane is given all update information in a 
single call, letting it then locally, determine if/how to apply the updates.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-24 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-24 14:52 finishing Host.requestRefresh Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).