Re: Just 2 little questions

2007-06-27 Thread Michael Bauroth
Thank you for your answers. That was what I looked for. The only remaining question: So default there exist one single IoHandler. If I want more (i.e. one per session) I must configure this. Right? Best Regards Michael

Re: How to use IoHandler in ClientSide

2007-06-27 Thread peter royal
On Jun 26, 2007, at 12:46 AM, liquidchen wrote: So, is it true that for the current version, there are no easy way to implement a sync socket client?? I have the same problem, for server side, it's work greate, but for a sync client, it's seems helpless... its possible, but requires work. m

Re: Just 2 little questions

2007-06-27 Thread Mark Webb
check out this link to the presentation Peter Royal gave at ApacheCon this year http://people.apache.org/~proyal/MINA%20AC%20EU%202007.pdf On 6/27/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi Michael, On 6/28/07, Michael Bauroth <[EMAIL PROTECTED]> wrote: > Hi, > > 1. has somebody maybe a li

Re: how can I make multiple ProtocolCodecFilters work together?

2007-06-27 Thread Trustin Lee
http://www.nabble.com/Why-only-one-ProtocolCodecFilter-per-chain-tf3884603.html#a11012504 It's a known issue and will be fixed in 2.0. Thanks, Trustin On 6/27/07, mat <[EMAIL PROTECTED]> wrote: Do we ask the same questions? http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--t

Re: Just 2 little questions

2007-06-27 Thread Trustin Lee
Hi Michael, On 6/28/07, Michael Bauroth <[EMAIL PROTECTED]> wrote: Hi, 1. has somebody maybe a little graphical sketch about the logical structure and the responsibilities of the single components within the Mina queue? I know there is one document, which describes the data flow, but I'm missin

Re: unbindAll() would close the IoSession?

2007-06-27 Thread Messi Chan
Hi, Maarten, thank you for your suggestions. >(1) creating a new CommunicatorServer instance, to stop the server is a bit weird > a) since your SocketAcceptor is already static, you could make the stop > method static as well > b) I would avoid static fields altogether If I don't use the sta

Just 2 little questions

2007-06-27 Thread Michael Bauroth
Hi, 1. has somebody maybe a little graphical sketch about the logical structure and the responsibilities of the single components within the Mina queue? I know there is one document, which describes the data flow, but I'm missing the key, which parts are (maybe) concurrent and which parts are

Re: unbindAll() would close the IoSession?

2007-06-27 Thread Maarten Bosteels
Hi Messi, If you don't want that your IoSession are closed when you call unbindAll() you should replace cfg.setDisconnectOnUnbind(true); with cfg.setDisconnectOnUnbind(false); some remarks about: public void messageReceived(IoSession session, Object message) throws Exception { i

unbindAll() would close the IoSession?

2007-06-27 Thread Messi Chan
Hi, all I have a server using MINA. In the server side, I definded a BlockingQueue to keep the IoSession when some client connected. I would take the IoSession from the queue do some business. But, when I call unbindAll() method to shutdown the server, I have found that the IoSession kept in the

Re: SSLFilter state

2007-06-27 Thread Raman Gupta
Raman Gupta wrote: > > I am using Mina 1.0.2. > > It seems that sometimes the SSLFilter gets into a weird state when > there are connection-related problems. I have a client application > that sends keep-alives every 30 seconds. The last successful keep > alive I have is at: > [snip] > Is it

SSLFilter state

2007-06-27 Thread Raman Gupta
I am using Mina 1.0.2. It seems that sometimes the SSLFilter gets into a weird state when there are connection-related problems. I have a client application that sends keep-alives every 30 seconds. The last successful keep alive I have is at: 03:04:14,552 Keep-alive response message received I s

Re: how can I make multiple ProtocolCodecFilters work together?

2007-06-27 Thread mat
I still wonder if we asked the same questions. Actually for that link, I don't understand very well. If you dig out something, can you share with me? Thanks. On 6/27/07, slowness chen <[EMAIL PROTECTED]> wrote: thanks, this link is helpful On 6/27/07, mat <[EMAIL PROTECTED]> wrote: > > Do we a