On 8/3/07, Tan Ka Ju <[EMAIL PROTECTED]> wrote: > > >For now, session idle time and write timeout can not be configured in > >an IoC manner because they don't belong to IoSessonConfig but > directly > >to IoSession. I think Moving these properties to IoSessionConfig so > >they can be configured before an IoSession is created. WDYT? > > Hello, I have a suggestion. It would be good to have the configuration > enable > in IoSessonConfig. Can we also remain the config feature in IoSession > that > user can have option to set a particular session with it own idle time > and write > timeout settings instead of following the global setting?
That's exactly what I am saying. You will still be able to re-adjust idle time and write timeout with the following code: session.getConfig().setWriteTimeout(10); HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
