will do...
On Wed, Apr 9, 2008 at 8:59 AM, "이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > Why don't you include it into the trunk? There's an example module > already. > > Cheers, > > Mark Webb wrote: > > Niall, > > > > Thanks for pointing this out to me. I have updated the wiki and also > placed > > the code into my sandbox. You may access the code at: > > > > > http://svn.apache.org/repos/asf/mina/sandbox/mwebb/mina/src/main/java/org/apache/mina/gettingstarted/timeserver/ > > > > --Mark > > > > On Wed, Apr 9, 2008 at 5:19 AM, Niall Pemberton < > [EMAIL PROTECTED]> > > wrote: > > > >> The MINA v2.0 Quick Start Guide needs updating for the current API > >> > >> http://mina.apache.org/mina-v20-quick-start-guide.html > >> > >> In the last MinaTimeServer code snippet it has... > >> > >> acceptor.setLocalAddress( new InetSocketAddress(PORT) ); > >> acceptor.bind(); > >> > >> ...but setLocalAddress() doesn't exist (in Mina 2.0.0-M1) - should be > >> changed to setDefaultLocalAddress() or replace those lines with > >> > >> acceptor.bind(new InetSocketAddress(PORT)); > >> > >> The other thing is the lines added in the 3rd MinaTimeServer code > >> snippet have been dropped from the 4th(last) code snippet, i.e. > >> > >> acceptor.getSessionConfig().setReadBufferSize( 2048 ); > >> acceptor.getSessionConfig().setIdleTime( IdleStatus.BOTH_IDLE, 10 ); > >> > >> Niall > >> > > > > > > > > -- > Trustin Lee - Principal Software Engineer, JBoss, Red Hat > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > > -- -------------------------------- Talent hits a target no one else can hit; Genius hits a target no one else can see.