Hi Jeanfrancois,
many thanks.
Yes sure.
I will improve the code every day. It also be soon hopefully in
production with about a hundred concurrrent users.
I am testing a lot and adding comments to javadoc.
When I have finished the javadocs I'll write a tutorial.
Laugh I submitted it also to GAP so I am eager to make it nicer and get
the bugs out.
Many Greetings John
-------- Original-Nachricht --------
> Datum: Tue, 01 Jul 2008 10:19:33 -0400
> Von: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
> An: dev_at_grizzly.dev.java.net
> Betreff: Re: Grizzly framework-samples Update
> Salut,
>
> John ROM wrote:
> > Hi Jeanfrancois,
>
> sorry for the delay....it is an Holiday in Canada.
>
> > attached you find an update of CustomProtocolParser.java.
> > Could you please delete AbstractCustomProtocolParser.java
>
> Sure.
>
> >
> > Actually it is a complete Client Server Example using a Custom Protocol
> > build with Grizzly Framework.
>
> This ia great! This is a great code contribution!
>
>
> >
> > For a "silly" Demo see Example_1_Server.java and Example_1_Client.java
> >
> > Behind the scenes a Custom Protocol is implemented which is a little bit
> > like GIOP (laugh just some ideas which led to
> RequestMessage,ReplyMessage,FragmentMessage)
> >
> > For Client Server Communication only one open Connection is needed. A
> client inits
> > a Connection (firewall friendly) but the server can send messages at any
> time to any client.
> >
> > All writes are done with AsyncWriter which means that always a full
> message is send
> > from Endpoint to Endpoint
> >
> > But since Message Size is fixed 8192 bytes, bigger logical data gets
> fragmented to
> > FragmentMessages the Connection should be very responsive.
> >
> > The fixed 8192 size also should be nice to memory when large data
> amounts are send.
> >
> > Hopefully this protocol and supporting classes are general purpose
> enough
> > so that somebody needing such a protocol can easly plug into the samples
> >
> > I tested the classes and everything works but still have some work todo.
> > (for example your favorite theme avoiding memory leak when attaching to
> selectionKey,
> > further docs,ssl,nicer examples, something like suspendableFilter)
>
> :-) :-) :-)
>
> Next step fir us is to write a tutorial that explain the code...but
> that's a really really good start! Will commit the work today.
>
> Thanks!!
>
> -- jeanfrancois
>
>
> >
> >
> > Many Greetings
> > John
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> > For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger