directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Zillmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-145) filter for writing streams
Date Wed, 21 Dec 2005 11:15:30 GMT
    [ http://issues.apache.org/jira/browse/DIRMINA-145?page=comments#action_12361044 ] 

Johannes Zillmann commented on DIRMINA-145:
-------------------------------------------

> What about providing SwitchingIoHandler? 
> handler.setHandler( new MyIoHandler() ); // Set default one
> ...
> handler.setHandler( new StreamIoHandler() {...}); // Change the handler

I don't dig sooo deep in this topic, but some initial thoughts...
Is it useful to switch handlers per session ? Then you might switch filter chains to ? (fe
you had  object sersialization filter in MyIoHandler) 
Would it not make more sense to configure session for a) streams (blocking) or b.) events
(non-blocking) ???


> 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


Mime
View raw message