mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Vermillard <jvermill...@gmail.com>
Subject Re: [MINA3] message received event triggering a message writing inside a IOFilter
Date Mon, 28 Oct 2013 15:30:09 GMT
just committed the support for write message in the middle of the read chain.
--
Julien Vermillard :::: http://people.apache.org/~jvermillard/


On Fri, Oct 25, 2013 at 5:41 PM, Julien Vermillard
<jvermillard@gmail.com> wrote:
> doesn't work...
> you need the WriteFilterChainController and you have the
> ReadFilterChainController
>
> --
> Julien Vermillard :::: http://people.apache.org/~jvermillard/
>
>
> On Fri, Oct 25, 2013 at 2:36 PM, Emmanuel Lécharny <elecharny@gmail.com> wrote:
>> Le 10/25/13 1:47 PM, Julien Vermillard a écrit :
>>> you don't have that on mina3, but I think I can add it
>>
>>
>> /**
>>  * Filter are interceptors/processors for incoming data received/sent.
>>  *
>>  * @author <a href="http://mina.apache.org">Apache MINA Project</a>
>>  */
>> public interface IoFilter {
>> ...
>>     /**
>>      * Invoked when a message is under writing. The filter is supposed
>> to apply the needed transformation.
>>      *
>>      * @param session {@link IoSession} associated with the invocation
>>      * @param message the message to process before writing
>>      */
>>     void messageWriting(IoSession session, WriteRequest message,
>> WriteFilterChainController controller);
>>
>> ...
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>

Mime
View raw message