Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 30666 invoked from network); 7 Dec 2005 04:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 04:30:41 -0000 Received: (qmail 60628 invoked by uid 500); 7 Dec 2005 04:30:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 60362 invoked by uid 500); 7 Dec 2005 04:30:35 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 60252 invoked by uid 99); 7 Dec 2005 04:30:34 -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; Tue, 06 Dec 2005 20:30:34 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A0C01193 for ; Wed, 7 Dec 2005 05:30:13 +0100 (CET) Message-ID: <1758395441.1133929813656.JavaMail.jira@ajax.apache.org> Date: Wed, 7 Dec 2005 05:30:13 +0100 (CET) From: "Trustin Lee (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRMINA-140) ByteBuffer.prefixedDataAvailable() In-Reply-To: <2047164989.1133929688015.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRMINA-140?page=all ] Trustin Lee closed DIRMINA-140: ------------------------------- Resolution: Fixed Assign To: Trustin Lee > ByteBuffer.prefixedDataAvailable() > ---------------------------------- > > Key: DIRMINA-140 > URL: http://issues.apache.org/jira/browse/DIRMINA-140 > Project: Directory MINA > Type: New Feature > Reporter: Trustin Lee > Assignee: Trustin Lee > Fix For: 0.9 > > Many protocols use a data type which has a data length field as a prefix. It will be very useful if users can check if the buffer contains the whole data by inspecting the data length field before start reading the data. ByteBuffer.prefixedDataAvailable() will let users do this trivial and repetitive task with just one method call. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira