Re: Send a message immediatly

2013-07-26 Thread Emmanuel Lécharny
Le 7/26/13 12:32 PM, Jose María Zaragoza a écrit : > OK. Thanks. > > One question more: > > if I create a new filter (iofilter1 ) , so I have > > > iohandler ---> iofilter1 > > > When I receive a message , messageReceived on iofilter1 is executed > and , finally , messageReceived on iohandler

Re: Send a message immediatly

2013-07-26 Thread Jose María Zaragoza
Anyway, I tried your solution and that worked for me Thanks 2013/7/26 Jose María Zaragoza : > OK. Thanks. > > One question more: > > if I create a new filter (iofilter1 ) , so I have > > > iohandler ---> iofilter1 > > > When I receive a message , messageReceived on iofilter1 is executed > and

Re: Send a message immediatly

2013-07-26 Thread Jose María Zaragoza
OK. Thanks. One question more: if I create a new filter (iofilter1 ) , so I have iohandler ---> iofilter1 When I receive a message , messageReceived on iofilter1 is executed and , finally , messageReceived on iohandler is executed If I put the code that sends "test" in iofilter1 and "(

Re: Send a message immediatly

2013-07-26 Thread Emmanuel Lécharny
Le 7/26/13 11:46 AM, Jose María Zaragoza a écrit : > Hello: > > > I'm using Mina Core 2.0.7 > > I use BufferedWriteFilter to send data and every time I write data for > sending it , I flush this filter manually by this code: > > this.session.write(data); > ((BufferedWriteFilter) f).flush(this.sess

Send a message immediatly

2013-07-26 Thread Jose María Zaragoza
Hello: I'm using Mina Core 2.0.7 I use BufferedWriteFilter to send data and every time I write data for sending it , I flush this filter manually by this code: this.session.write(data); ((BufferedWriteFilter) f).flush(this.session); Sometimes I've to send data from the messageReceived() cal