X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 2095B9FA0FD for ; Thu, 14 Sep 2006 21:26:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 04214-05 for ; Fri, 15 Sep 2006 00:26:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.ini.unizh.ch (dns.ini.unizh.ch [130.60.230.185]) by postgresql.org (Postfix) with ESMTP id D87039F9F77 for ; Thu, 14 Sep 2006 21:26:54 -0300 (ADT) Received: from smtp.ini.unizh.ch (localhost [127.0.0.1]) by smtp.ini.unizh.ch (Postfix) with ESMTP id 1B37885C714 for ; Fri, 15 Sep 2006 02:26:51 +0200 (CEST) Received: by smtp.ini.unizh.ch (Postfix, from userid 499) id 6172585C72A; Fri, 15 Sep 2006 02:26:49 +0200 (CEST) Received: from acardona.lan.ini.unizh.ch (unknown [172.16.2.13]) (using TLSv1 with cipher EXP1024-RC4-SHA (56/128 bits)) (No client certificate requested) by smtp.ini.unizh.ch (Postfix) with ESMTP id 1447B85C714 for ; Fri, 15 Sep 2006 02:26:41 +0200 (CEST) From: Albert Cardona To: pgsql-jdbc@postgresql.org Subject: Re: about monitoring the input stream Date: Fri, 15 Sep 2006 02:26:21 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609150226.21684.acardona@ini.phys.ethz.ch> X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/56 X-Sequence-Number: 15774 Thank you very much Mark! I have my setup up and running. It didn't occur to me to "simply" wrap the BufferedInputStream of the PGStream into my own custom counter stream. Very easy and very clean. Thanks! Albert -- Albert Cardona Molecular Cell Developmental Biology University of California Los Angeles Tel +1 310 2067376 Programming: http://www.ini.unizh.ch/~acardona/trakem2.html Research: http://www.mcdb.ucla.edu/Research/Hartenstein/ Web design: http://www.pixelets.com