You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/12/07 05:28:08 UTC

[jira] Created: (DIRMINA-140) ByteBuffer.prefixedDataAvailable()

ByteBuffer.prefixedDataAvailable()
----------------------------------

         Key: DIRMINA-140
         URL: http://issues.apache.org/jira/browse/DIRMINA-140
     Project: Directory MINA
        Type: New Feature
    Reporter: 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


[jira] Closed: (DIRMINA-140) ByteBuffer.prefixedDataAvailable()

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ 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