directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Therning (JIRA)" <>
Subject [jira] Resolved: (DIRMINA-145) filter for writing streams
Date Sun, 15 Jan 2006 15:45:58 GMT
     [ ]
Niklas Therning resolved DIRMINA-145:

    Fix Version: 0.9.1
     Resolution: Fixed

The filter StreamWriteFilter has been committed. Basically it allows you to write InputStream
objects using session.write(). The filter will take care of reading the bytes from the stream,
put them in a ByteBuffer and pass that buffer along to the next filter. IoHandler.messageSent()
won't be called until all the bytes of the stream have been written. Bytes are read in 4k
chunks from the stream by default. This is configurable.

For now I haven't looked into the SwitchingIoHandler feature. Maybe it would be better to
open up a new issue for that?

> filter for writing streams
> --------------------------
>          Key: DIRMINA-145
>          URL:
>      Project: Directory MINA
>         Type: Improvement
>     Reporter: Johannes Zillmann
>     Assignee: Niklas Therning
>      Fix For: 0.9.1
>  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