From commits-return-6355-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Sat Oct 08 20:00:49 2005 Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 80389 invoked from network); 8 Oct 2005 20:00:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2005 20:00:49 -0000 Received: (qmail 96048 invoked by uid 500); 8 Oct 2005 20:00:49 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 96005 invoked by uid 500); 8 Oct 2005 20:00:48 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 95994 invoked by uid 500); 8 Oct 2005 20:00:48 -0000 Delivered-To: apmail-incubator-directory-cvs@incubator.apache.org Received: (qmail 95991 invoked by uid 99); 8 Oct 2005 20:00:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 13:00:47 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3B6F521C for ; Sat, 8 Oct 2005 22:00:26 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: directory-cvs@incubator.apache.org Date: Sat, 08 Oct 2005 20:00:26 -0000 Message-ID: <20051008200026.14827.33228@ajax.apache.org> Subject: [Directory Wiki] Update of "Asn1Home" by EmmanuelLecharny X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification. The following page has been changed by EmmanuelLecharny: http://wiki.apache.org/directory/Asn1Home ------------------------------------------------------------------------------ * ["TLV Page Info"]: Informations about '''Tlv'''s === ByteBuffer === - Buffering the incoming request or the ourgoing response is essential. As a request or a response can be hudge (for exampole, if we want to store images), it is necessary to store bytes in buffers in order to be able to pipeline the processing. Flushing informations byte by byte is totally insane, from the network point of view. + Buffering the incoming request or the ourgoing response is essential. As a request or a response can be huge (for example, if we want to store images), it is necessary to store bytes in buffers in order to be able to pipeline the processing. Flushing informations byte by byte is totally insane, from the network point of view. We are using the '''NIO''' [http://java.sun.com/j2se/1.4.2/docs/api/java/nio/ByteBuffer.html ByteBuffer] structure to store chunks of information, before pushing them on the network, and reversly, store incoming bytes into buffers before processing the request.