James Mansion wrote:
> charlie hunt wrote:
>>> 3.) Community interest in example custom protocol with Grizzly (Charlie)
>>
>> There has been community interest implementing a custom protocol to
>> run on top of Grizzly (framework). GlassFish CORBA is a good example
>> and Harsha will share some of his observations and experiences as
>> needed by the community.
> I would have hoped something simple that could just be length-word
> followed by payload and echo it back to the sender (or perhaps all
> connected sessions) would be a good start.
>
> Where can I look to see how I would do such a thing? There maybe
> something already but I couldn't see it when I looked.
All our unit tests uses an approach similar to described. Mainly, you
need to write a ProtocolFilter that can parse the bytes, and then invoke
the EchoFilter. I agree this is quite small to start :-(, but that's
only what we have rigth now.
Thanks
--jeanfrancois
>
> James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>