From kde-core-devel Fri Nov 26 15:35:15 2004 From: "Friedrich W. H. Kossebau" Date: Fri, 26 Nov 2004 15:35:15 +0000 To: kde-core-devel Subject: Re: RFC: Keeping track of online/offline status & central DNS Message-Id: <200411261635.24009.Friedrich.W.H () Kossebau ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110148392823276 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-02=_700pBudD6L9byBn" --Boundary-02=_700pBudD6L9byBn Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 26. November 2004 11:07, schrieb Friedrich W. H. Kossebau: > * Keeping track of which application/services are in need/using the online > state > > So for dial-on-demand all download managers, email fetchers etc. (from > different users?) could register with the demon and tell when they are > done. Thus no more accidently interrupted transmissions. > > > Proposed DCOP interface > enumOnlineUsage {OnOccasion=3D1, Explicit=3D2} > void registerOnlineUsage("Description", app, user, enumOnlineUsage ) > // registers online usage, to be used by apps (kget, kmail, ...), (or io > slaves?), not > // Explicit are user triggered downloads, perhaps also mail, calendar > // OnOccasion are automated things, like KWeather, Kopete user states, > // CCDB synchronisations, RSS feeds etc. Such apps could be configured > // to on connection setup do the first information fetch as Explicit and > later // on OnOccasion so at least one update is ensured. > > void unregisterOnlineUsage( app, user ) > // unregisters an app/service > > "list of online users" listOnlineUsers() > // lists all registered apps using the online state, to be used by kppp or > kisdn to warn about pending online activities. One more possible thing: signal noMoreOnlineUsage() // signal that get's emitted if the last explicit online using app unregist= ers // so kppp or kisdn could autodisconnect At least I would find this useful for my online behaviour sometimes (dial i= n,=20 start surfing, select some interesting material and start downloading it,=20 wait for finished downloads, disconnect). With the feature proposed one cou= ld=20 start the downloads, tell kppp to disconnect on no further explicit online= =20 usage and relaxedly go to supper. (Why don't I simply trust the "Disconnect= =20 on silence" feature? Those OnOccasion apps might come into the game.) =46riedrich --Boundary-02=_700pBudD6L9byBn Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBp007ECqmVFXwdrMRAlhIAJ0ZFCNTasZWroZSnGviXgOzJP6sDACePjIs oty/16mumyqCLdIR1yO/DSw= =SksM -----END PGP SIGNATURE----- --Boundary-02=_700pBudD6L9byBn--