Re: ReadFuture (Was: Re: New feature in 2.0: Request-Response Filter)

2007-05-12 Thread Brad Harvey
On 4/12/07, Maarten Bosteels [EMAIL PROTECTED] http://www.nabble.com/user/SendEmail.jtp?type=postpost=9957679i=0 wrote: Suppose you have a request-response protocol and you want to implement the client synchronously: connect, send a request and wait until the response comes in. What is

Re: ReadFuture (Was: Re: New feature in 2.0: Request-Response Filter)

2007-05-12 Thread peter royal
On May 12, 2007, at 5:21 AM, Brad Harvey wrote: Just saw this while I was doing some browsing - hope I'm not jumping in too late. I had a crack at a client side synchronous API for Mina a while ago (pre 1.0), but never had a real project to try it out on so it fell by the wayside. Below

Re: Re: New feature in 2.0: Request-Response Filter

2007-04-14 Thread gh_aiyz
Hi all, where can I get the latest code of mina 2.0? Thanks gh_aiyz 2007-04-14 发件人: John E. Conlon 发送时间: 2007-04-13 04:01:32 收件人: [EMAIL PROTECTED] 抄送: 主题: Re: New feature in 2.0: Request-Response Filter Hi Trustin, Just updated my working trunk and I noticed a problem with the feature

Re: New feature in 2.0: Request-Response Filter

2007-04-14 Thread Emmanuel Lecharny
gh_aiyz a écrit : Hi all, where can I get the latest code of mina 2.0? Hi, you can 'svn co http://svn.apache.org/repos/asf/mina/trunk/', this is the trunk, containing the 2.0.0 current development version Emmanuel

Re: ReadFuture (Was: Re: New feature in 2.0: Request-Response Filter)

2007-04-13 Thread Trustin Lee
On 4/12/07, Maarten Bosteels [EMAIL PROTECTED] wrote: snip/ It sounds very interesting. Assuming we have ReadFuture, should IoHandler.messageReceived() be notified? Not sure about that. How are people currently implementing a client that wants to wait for a response ? I did a very

New feature in 2.0: Request-Response Filter

2007-04-12 Thread Trustin Lee
Hi folks, Today, I added a new feature to the trunk. The issue has been filed since the early days of MINA, but we didn't give it high priority because it was a good-to-have feature. I apologize those who wait for this issue to be resolved for a long time. The Request-Response filter is very

Re: ReadFuture (Was: Re: New feature in 2.0: Request-Response Filter)

2007-04-12 Thread Maarten Bosteels
On 4/12/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi Maarten, On 4/12/07, Maarten Bosteels [EMAIL PROTECTED] wrote: Hi folks, Until now I had only implemented server apps with MINA (IoAcceptor), and no client apps (IoConnector). I started working on a small tutorial about

Re: New feature in 2.0: Request-Response Filter

2007-04-12 Thread John E. Conlon
Hi Trustin, Just updated my working trunk and I noticed a problem with the feature you just added. The class RequestTimeoutException extends IOException and tries to call the superclass constructor with inappropriate arguments. (IOException has a paramaterless constructor and one that

Re: New feature in 2.0: Request-Response Filter

2007-04-12 Thread Trustin Lee
Hi John, On 4/13/07, John E. Conlon [EMAIL PROTECTED] wrote: Hi Trustin, Just updated my working trunk and I noticed a problem with the feature you just added. The class RequestTimeoutException extends IOException and tries to call the superclass constructor with inappropriate arguments.