sounds like that is the direction we want to go.  My only concern is that we
start getting apps in the examples directory that overlap.  There is
currently a chat program in examples, but maybe your's is more feature-rich
or more robust.  One think I do like about the current chat example is that
it is the only example that uses Spring.



2008/4/9 Niklas Gustavsson <[EMAIL PROTECTED]>:

> I got a small chat server example that I wrote for my session at
> ApacheCon. After I clean up that code and add comments to make it
> understandable, would you like me to upload that into the examples
> module as well? Would suite me fine as I promised during the talk to
> make it available at that mythical "somewhere" :-)
>
> /niklas
>
> 2008/4/9 Mark Webb <[EMAIL PROTECTED]>:
> > 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.
> >
>



-- 
--------------------------------
Talent hits a target no one else can hit; Genius hits a target no one else
can see.

Reply via email to