Re: Possible optimization?

2007-06-21 Thread Roman Magarshak
I think that a generic interface should be used (As previously stated Map for example). >From one side you have a default with each version. On the other side , if during some time we'll find out that the choice is not optimal it's an easy switch. Adding a factory/configuration adds an unneeded com

Re: concurrent users simulation

2007-04-26 Thread Roman Magarshak
You can try various scripts using netcat or simple to write a concurrent client. On Sun, 2007-04-22 at 00:57 +0800, mat wrote: > No other methods? > > 2007/4/21, Thierry Mallard <[EMAIL PROTECTED]>: > > > > mat a écrit : > > > Hi, > > > > > > I just finished my server. Can anyone provide me a meth

Re: How can I configure multiple decoders in MINA?

2007-04-26 Thread Roman Magarshak
Not quite. main: IoAcceptor acceptor = new SocketAcceptor(); SocketAcceptorConfig cfg = new SocketAcceptorConfig(); DemuxingProtocolCodecFactory dpcf=new DemuxingProtocolCodecFactory(); dpcf.register(FirstMessageEncoder.class); dpcf.register(SecondMessageEncoder.class); cfg.getFilterChain().addLast

Re: getting started guide

2007-04-10 Thread Roman Magarshak
By the way is there a posibility to download sources of 2.0 without svn? (firewall) On Tue, 2007-04-10 at 15:20 +0100, Rodrigo Madera wrote: > In my opinion, whichever you choose is fine. > > Trustin, what are the plans for 2.0? > Will it eventually replace 1.x or is it planed to branch independ