You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Dhruv Chopra <dh...@shephertz.co.in> on 2012/09/12 19:25:43 UTC

websocket codec in Apache Mina

Hi,

We are using Apache Mina for NIO in our gaming server. In our
scenario, the same server must handle data transfer across native
clients (iOS, Android) and web browsers (which are communicating
through websockets).
To do this, we have prototyped an encoder and decoder in the MINA
chain which will do the websocket handshake and manage communication
over WebSocket dataframes (as in RFC 6455).
My question is that is there already a filter for doing this (or one
under development)? If not, we would like to contribute what we have
done to the Apache Mina project and would like to know the process.

Thanks,
Dhruv

Product Site : http://appwarp.shephertz.com/
Company Site : http://shephertz.com/

Re: websocket codec in Apache Mina

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 9/12/12 7:25 PM, Dhruv Chopra a écrit :
> Hi,

Hi,

seems like the following message didn't made it to the mailing list ( 
can't find it in 
http://mail-archives.apache.org/mod_mbox/mina-dev/201209.mbox/browser), 
although I have it in my mailbox... Very strange !

" Thanks for your responses regarding this. I have created a new
JIRA<https://issues.apache.org/jira/browse/DIRMINA-907 
<https://issues.apache.org/jira/browse/DIRMINA-907>>concerning
this.
To answer Emmanuel's earlier question, yes we (Shephertz) are willing to
provide support for this filter.
We are code complete for this feature and are doing some validation. Apart
from the filter code, what else (eg: sample usage, client code) would we
needed?

Thanks!
"


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: websocket codec in Apache Mina

Posted by Dhruv Chopra <dh...@shephertz.co.in>.
Thanks for your responses regarding this. I have created a new
JIRA<https://issues.apache.org/jira/browse/DIRMINA-907>concerning
this.
To answer Emmanuel's earlier question, yes we (Shephertz) are willing to
provide support for this filter.
We are code complete for this feature and are doing some validation. Apart
from the filter code, what else (eg: sample usage, client code) would we
needed?

Thanks!
Dhruv Chopra

On Wed, Sep 12, 2012 at 10:55 PM, Dhruv Chopra <dhruv.chopra@shephertz.co.in
> wrote:

> Hi,
>
> We are using Apache Mina for NIO in our gaming server. In our
> scenario, the same server must handle data transfer across native
> clients (iOS, Android) and web browsers (which are communicating
> through websockets).
> To do this, we have prototyped an encoder and decoder in the MINA
> chain which will do the websocket handshake and manage communication
> over WebSocket dataframes (as in RFC 6455).
> My question is that is there already a filter for doing this (or one
> under development)? If not, we would like to contribute what we have
> done to the Apache Mina project and would like to know the process.
>
> Thanks,
> Dhruv
>
> Product Site : http://appwarp.shephertz.com/
> Company Site : http://shephertz.com/
>

Re: websocket codec in Apache Mina

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 9/12/12 7:25 PM, Dhruv Chopra a écrit :
> Hi,
>
> We are using Apache Mina for NIO in our gaming server. In our
> scenario, the same server must handle data transfer across native
> clients (iOS, Android) and web browsers (which are communicating
> through websockets).
> To do this, we have prototyped an encoder and decoder in the MINA
> chain which will do the websocket handshake and manage communication
> over WebSocket dataframes (as in RFC 6455).
> My question is that is there already a filter for doing this (or one
> under development)? If not, we would like to contribute what we have
> done to the Apache Mina project and would like to know the process.
>
> Thanks,
> Dhruv
>
> Product Site : http://appwarp.shephertz.com/
> Company Site : http://shephertz.com/
Hi !

First, thanks a lot for you interest in MINA. We would be pleased to 
receive such a contribution, of course. Ashish and Bernd described the 
process to follow (JIRA, etc), and I'll just add a few comments :
- technically, you will give the ASF those files. Be sure that all the 
developprs who contributed to your work agree to give their work (if you 
derived some external code to create your codec).

Otherwise, as said, just push the files, and we will include them to MINA.

I have another question : as I'm pretty sure this code is going to be 
used by many people, so will you have time to provide some support ?  
Note that we don't mandate you to do so, but that's probably the best 
way to benefit from the community, and to be part of it.

Many thanks !

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: websocket codec in Apache Mina

Posted by Emmanuel Lécharny <el...@gmail.com>.
Ok, seems like my mail GUI is just totally dumb...

Thanks fot the JIRA. The next step would be to attach your code to it, 
and to allow us to use it under the Apache License 2.0.

Whatever code you have is ok (ie, tests, samples,etc).

Any documentation could help too, but as we are redesigning teh web ite, 
it's not really convenient to get anything but a reame.txt atm.

As soon as we can see the code, and play with it, we will interact 
through the JIRA for comments and suggestion.

Many thanks !

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: websocket codec in Apache Mina

Posted by Bernd Fondermann <be...@gmail.com>.
On Thu, Sep 13, 2012 at 3:21 AM, Ashish <pa...@gmail.com> wrote:
> We don't have information about this codec, though there might be some
> implementation in private domain.
> We maintain a list of all known codecs at
> http://mina.apache.org/codec-repository.html
>
> To contribute, please create a JIRA, and attach the code to it (Please
> check the ASL license box while creating the JIRA).

The Apache JIRA no longer supports this license box (as far as I
know). It is now sufficient to just attach a patch.

  Bernd

Re: websocket codec in Apache Mina

Posted by Ashish <pa...@gmail.com>.
We don't have information about this codec, though there might be some
implementation in private domain.
We maintain a list of all known codecs at
http://mina.apache.org/codec-repository.html

To contribute, please create a JIRA, and attach the code to it (Please
check the ASL license box while creating the JIRA).


On Wed, Sep 12, 2012 at 10:55 PM, Dhruv Chopra
<dh...@shephertz.co.in> wrote:
> Hi,
>
> We are using Apache Mina for NIO in our gaming server. In our
> scenario, the same server must handle data transfer across native
> clients (iOS, Android) and web browsers (which are communicating
> through websockets).
> To do this, we have prototyped an encoder and decoder in the MINA
> chain which will do the websocket handshake and manage communication
> over WebSocket dataframes (as in RFC 6455).
> My question is that is there already a filter for doing this (or one
> under development)? If not, we would like to contribute what we have
> done to the Apache Mina project and would like to know the process.
>
> Thanks,
> Dhruv
>
> Product Site : http://appwarp.shephertz.com/
> Company Site : http://shephertz.com/



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal