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 <[EMAIL PROTECTED]> 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
