From kmail-devel Mon Jul 21 23:41:04 2003 From: Ingo =?iso-8859-1?q?Kl=F6cker?= Date: Mon, 21 Jul 2003 23:41:04 +0000 To: kmail-devel Subject: Re: CIA proposal (was: ClientInterface) X-MARC-Message: https://marc.info/?l=kmail-devel&m=105883155629832 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============19213546664383219==" --===============19213546664383219== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_RoHH/j7aa9FCx1c"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_RoHH/j7aa9FCx1c Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 21 July 2003 13:31, Marc Mutz wrote: > Step 4: Define a protocol by which a given Kmail instance can obtain > write access to a given folder/index file. > > Sketch of the CIA/4 protocol: > > KMail instance A wants to obtain write access to folder F from B: > > 1. A tries to create folder-lockfile L_F > Success: Write own DCOP id into the lock file. > A has now (exclusive) write access to F. > 2. A tries to read a DCOP ID of B from L_F > Success: A sends B the message > "Please release folder F" > Wait a random amount of time, then goto 1. > Failure: Wait a random amount of time, then goto 1. > Repeated failure: Tell user. This doesn't work if A and B are running on different machines accessing=20 the same shared ~/Mail directory. Regards, Ingo --Boundary-02=_RoHH/j7aa9FCx1c Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3rc1 (GNU/Linux) iD8DBQA/HHoRGnR+RTDgudgRAoVjAKDbDmNTyZkaqxaUAfbNu3AV38fdgwCfdXrj /cIbm+ghc1VvA8fx77vXXiQ= =aomC -----END PGP SIGNATURE----- --Boundary-02=_RoHH/j7aa9FCx1c-- --===============19213546664383219== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail --===============19213546664383219==--