[ 
http://issues.apache.org/jira/browse/DIRMINA-145?page=comments#action_12361038 
] 

Trustin Lee commented on DIRMINA-145:
-------------------------------------

It would be great if user can switch IoHandler mode and 
InputStream/OutputStream mode very easy.

What about providing SwitchingIoHandler?

SwitchingIoHandler handler = ...;
handler.setHandler( new MyIoHandler() ); // Set default one
...
handler.setHandler( new StreamIoHandler() {...}); // Change the handler

I guess this is the simplest solution.  WDYT?

> filter for writing streams
> --------------------------
>
>          Key: DIRMINA-145
>          URL: http://issues.apache.org/jira/browse/DIRMINA-145
>      Project: Directory MINA
>         Type: Improvement
>     Reporter: Johannes Zillmann
>     Assignee: Niklas Therning
>  Attachments: streamWriteFilter.zip
>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to