directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Therning (JIRA)" <>
Subject [jira] Commented: (DIRMINA-145) filter for writing streams
Date Fri, 16 Dec 2005 21:00:45 GMT
    [ ] 

Niklas Therning commented on DIRMINA-145:

I've applied the attached patch and made some minor changes to make it more generic. The changes

* The filter will now call nextFilter.messageSent once all the contents of the stream has
been written. 
* The filter won't close the stream. The IoHandler will have to take care of this in messageSent.

* The filter will throw IllegalStateException if one tries to write something while there's
a stream being worked on. 
* The advances property has been changed into a writeBufferSize property. I think that will
make more sense to users.

I hope these changes are ok and that they will make the filter even more useful. I will check
it into subversion as soon as I have updated the test.

Thank you, Johannes, for your contribution!

> filter for writing streams
> --------------------------
>          Key: DIRMINA-145
>          URL:
>      Project: Directory MINA
>         Type: Improvement
>     Reporter: Johannes Zillmann
>     Assignee: Niklas Therning
>  Attachments:
> a filter for easy stream writing would be usefull.
> I append a zip with that kind of filter.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message