mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat <forum.maill...@gmail.com>
Subject Re: A Couple of Newbie Questions
Date Fri, 13 Jul 2007 00:37:42 GMT
Please read the tutorial first and it is pretty good.
http://mina.apache.org/documentation.html#Documentation-Tutorials


On 7/13/07, Geoff Cadien <gcadien@gmail.com> wrote:
>
> First let me say that I've ported some parts of my application to Mina so
> I
> could perform some tests and I'm quite impressed with the
> performance!  Now
> I could use some design guidance.  In my IoHandler I need to perform a
> possibly long task (taking seconds to run).  My assumption is that I'd
> want
> to run this task in a separate thread to avoid blocking the IoProcessor
> thread.  So my question is, how should I run this task?  Can I simply
> callback to the IoHandler and write the response from the callback
> handler?
> I would appreciate whatever insight anyone might have.
>
> Thanks,
>
> -geoff
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message