Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 386814907 for ; Wed, 25 May 2011 16:51:20 +0000 (UTC) Received: (qmail 48765 invoked by uid 500); 25 May 2011 16:51:18 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48739 invoked by uid 500); 25 May 2011 16:51:18 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 48731 invoked by uid 99); 25 May 2011 16:51:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 16:51:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.27.42.3] (HELO smtp3-g21.free.fr) (212.27.42.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 16:51:12 +0000 Received: from [192.168.0.4] (eur10-1-82-241-180-211.fbx.proxad.net [82.241.180.211]) (Authenticated sender: aurelien.benel) by smtp3-g21.free.fr (Postfix) with ESMTPA id 67225A6315 for ; Wed, 25 May 2011 18:50:43 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: C/C++ client Library | Changes notification From: =?iso-8859-1?Q?Aur=E9lien_B=E9nel?= In-Reply-To: <01B81527-0D10-42C0-9D60-7FAD1C4D7BB8@archlinux.cl> Date: Wed, 25 May 2011 18:50:41 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <32D913D4-72AA-4C8D-94DA-0D37F3FEB6F7@utt.fr> References: <01B81527-0D10-42C0-9D60-7FAD1C4D7BB8@archlinux.cl> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) Hi Matias, > So my question is: =BFHow can i implement changes notification with a = C/C++ client? Just read continuous changes in a different thread. Every time you get a line, notify your observers. As an example, here is a Java implementation in 35 lines of code: = https://github.com/benel/Porphyry/blob/master/src/org/hypertopic/RESTDatab= ase.java#L201 Regards, Aur=E9lien=