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

2007-05-12 Thread Brad Harvey
Hope it is as cool as it sounded :) http://issues.apache.org/jira/browse/DIRMINA-375 peter royal wrote: 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

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 is

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] > 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. > >

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: 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: 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: > 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 quick-and

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. (IO

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 accept

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 Protoco

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

2007-04-12 Thread Trustin Lee
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 ProtocolDecoder/ProtocolEncoder to complement Mark's Getting Started

Re: New feature in 2.0: Request-Response Filter

2007-04-12 Thread Maarten Bosteels
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 ProtocolDecoder/ProtocolEncoder to complement Mark's Getting Started Guide, and while implementing the client side I was wondering if a Rea