You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Trustin Lee <tr...@gmail.com> on 2007/09/03 03:00:07 UTC

Re: MINA Test Pad

Hi Lóránt,

Thanks for your interest in MINA first of all!  Let me forward your
message to the mailing list so everyone can review your work.

Cheers,
Trustin

On 9/3/07, Lóránt Pintér <lp...@metacortex.hu> wrote:
> Hi!
>
> I've had a lot of problems figuring out how events are distributed (what
> follows what) in a MINA filter chain, so I created a small app that
> demonstrates the server side with a little GUI.
>
> I don't know if it is any good, but I thought maybe it would be useful
> for others, too. If you have some time (and indeed you are the person
> I'm looking for :), please, give it a try, and tell me your opinion.
>
> http://lptr.metacortex.hu/projects/mina/
>
> In the .zip there's a run.cmd which takes a parameter -- a spring config
> XML. I've included some in the examples folder. Without a parameter a
> simple default config is loaded.
>
> Once the app is up, it displays the filter chain defined in the config,
> and opens port 19999. The examples all use a TextLineDecoder, and they
> all function as echo servers (more-or-less).
>
> There are some special commands to demonstrate the workings of events.
> If you send 'CH', the connection gets closed by the IoHandler. If you
> send 'XH', the IoHandler throws an exception.
>
>
> Regards,
> Lóránt
>


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6