Android client and Tornado chat server subscribe

#1

First of all thank you for everything. autobahn is wonderful

I wanna use android part. We have a tornado chat server and I develop an android application. I connected Tornado but it receive everything. normally two people chat together. Actually I solve this problem but it is very simple method and useless. I need to subscribe server, server don’t send another messages.
Best Regards

chat.py (1.66 KB)

0 Likes

#2

First of all thank you for everything. autobahn is wonderful
I wanna use android part. We have a tornado chat server and I develop an
android application. I connected Tornado but it receive everything.
normally two people chat together. Actually I solve this problem but it
is very simple method and useless. I need to subscribe server, server
don't send another messages.

Not sure what your problem/question is ..

AutobahnPython runs on Twisted or asyncio, not (currently) on top of Tornado.

Tornado has a WebSocket implementation (as AutobahnPython), but as far as I know there is no WAMP implementation that runs on Tornado.

Cheers,
/Tobias

···

Am 13.11.2014 12:18, schrieb osman çetin:

Best Regards

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#3

Thank you for answer;
Sorry my language.I want to create private room for A and B users. They are talking in the private room very well.But I want to that when the another user C enter the server ,other users don’t see what c is writing?
I mean that if c and b set up the private room c and b are talking between themselves.

···

2014-11-19 22:44 GMT+02:00 Tobias Oberstein tobias.o...@gmail.com:

First of all thank you for everything. autobahn is wonderful

I wanna use android part. We have a tornado chat server and I develop an

android application. I connected Tornado but it receive everything.

normally two people chat together. Actually I solve this problem but it

is very simple method and useless. I need to subscribe server, server

don’t send another messages.
Am 13.11.2014 12:18, schrieb osman çetin:

Not sure what your problem/question is …

AutobahnPython runs on Twisted or asyncio, not (currently) on top of Tornado.

Tornado has a WebSocket implementation (as AutobahnPython), but as far as I know there is no WAMP implementation that runs on Tornado.

Cheers,

/Tobias

Best Regards

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+unsubscribe@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com

mailto:autobahnws@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com

<https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Autobahn” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/tVz9uyMony0/unsubscribe.

To unsubscribe from this group and all its topics, send an email to autobahnws+unsubscribe@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/546D012A.6060805%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

www.cetinosman.com

0 Likes

#4

Your best bet is probably to have a data structure that starts with a collection of rooms. Each room is a an array of sessionID’s that are connected to the room.
When somebody broadcasts into the room, a publish is sent with an {eligible: room[listofmembersessionid’s]] as a param. That way, only the members of the room will receive the message.

···

On Monday, 24 November 2014 15:26:21 UTC, osman çetin wrote:

Thank you for answer;
Sorry my language.I want to create private room for A and B users. They are talking in the private room very well.But I want to that when the another user C enter the server ,other users don’t see what c is writing?
I mean that if c and b set up the private room c and b are talking between themselves.

2014-11-19 22:44 GMT+02:00 Tobias Oberstein tobia...@gmail.com:

First of all thank you for everything. autobahn is wonderful

I wanna use android part. We have a tornado chat server and I develop an

android application. I connected Tornado but it receive everything.

normally two people chat together. Actually I solve this problem but it

is very simple method and useless. I need to subscribe server, server

don’t send another messages.
Am 13.11.2014 12:18, schrieb osman çetin:

Not sure what your problem/question is …

AutobahnPython runs on Twisted or asyncio, not (currently) on top of Tornado.

Tornado has a WebSocket implementation (as AutobahnPython), but as far as I know there is no WAMP implementation that runs on Tornado.

Cheers,

/Tobias

Best Regards

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsubscribe@googlegroups.com.

To post to this group, send email to auto...@googlegroups.com

mailto:autob...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com

<https://groups.google.com/d/msgid/autobahnws/6af11585-4a24-47b1-9d5e-9b8fc95c2413%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Autobahn” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/tVz9uyMony0/unsubscribe.

To unsubscribe from this group and all its topics, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to auto...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/546D012A.6060805%40gmail.com.

For more options, visit https://groups.google.com/d/optout.


www.cetinosman.com

0 Likes

#5

Hello, i’m interested to know how building Client side (android as client)

···

On Thursday, November 13, 2014 at 1:18:28 PM UTC+2, osman çetin wrote:

First of all thank you for everything. autobahn is wonderful

I wanna use android part. We have a tornado chat server and I develop an android application. I connected Tornado but it receive everything. normally two people chat together. Actually I solve this problem but it is very simple method and useless. I need to subscribe server, server don’t send another messages.
Best Regards

0 Likes

#6

Hi Samah!

First of all sorry for the late reply!

For an Android client which works with WAMP v2 take a look at https://github.com/Vinelab/Android-wamp-client (AutobahnAndroid is stuck at WAMP v1).

Regards,

Alex

···

Am Montag, 28. Dezember 2015 17:34:32 UTC+1 schrieb Samah Awad:

On Thursday, November 13, 2014 at 1:18:28 PM UTC+2, osman çetin wrote:

First of all thank you for everything. autobahn is wonderful

I wanna use android part. We have a tornado chat server and I develop an android application. I connected Tornado but it receive everything. normally two people chat together. Actually I solve this problem but it is very simple method and useless. I need to subscribe server, server don’t send another messages.
Best Regards

Hello, i’m interested to know how building Client side (android as client)

0 Likes

#7

There is no Tornado WAMP router, not WAMP1 and not WAMP2.

If you want to use AutobahnAndroid at the raw WebSocket level: that works. Only restriction: TLS (wss = secure WebSocket) isn't there. Another issue with AutobahnAndroid currently - we need to fix that too

···

Am 13.01.2016 um 13:14 schrieb Alexander Gödde:

Hi Samah!

First of all sorry for the late reply!

For an Android client which works with WAMP v2 take a look
at https://github.com/Vinelab/Android-wamp-client (AutobahnAndroid is
stuck at WAMP v1).

Regards,

Alex

Am Montag, 28. Dezember 2015 17:34:32 UTC+1 schrieb Samah Awad:

    On Thursday, November 13, 2014 at 1:18:28 PM UTC+2, osman çetin wrote:

        First of all thank you for everything. autobahn is wonderful
        I wanna use android part. We have a tornado chat server and I
        develop an android application. I connected Tornado but it
        receive everything. normally two people chat together. Actually
        I solve this problem but it is very simple method and useless. I
        need to subscribe server, server don't send another messages.
        Best Regards

    Hello, i'm interested to know how building Client side (android as
    client)

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/1fa25760-2055-4808-8841-a10d65f167d3%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/1fa25760-2055-4808-8841-a10d65f167d3%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#8

Hello , it is OK

My graduation project is “Home Automation Project”

yesterday i finished my seminar-1 it is an “introduction graduation project”

Thanks

···

On Wed, Jan 13, 2016 at 11:13 PM, Tobias Oberstein tobias.o...@gmail.com wrote:

There is no Tornado WAMP router, not WAMP1 and not WAMP2.

If you want to use AutobahnAndroid at the raw WebSocket level: that works. Only restriction: TLS (wss = secure WebSocket) isn’t there. Another issue with AutobahnAndroid currently - we need to fix that too

Am 13.01.2016 um 13:14 schrieb Alexander Gödde:

Hi Samah!

First of all sorry for the late reply!

For an Android client which works with WAMP v2 take a look

at https://github.com/Vinelab/Android-wamp-client (AutobahnAndroid is

stuck at WAMP v1).

Regards,

Alex

Am Montag, 28. Dezember 2015 17:34:32 UTC+1 schrieb Samah Awad:

On Thursday, November 13, 2014 at 1:18:28 PM UTC+2, osman çetin wrote:



    First of all thank you for everything. autobahn is wonderful

    I wanna use android part. We have a tornado chat server and I

    develop an android application. I connected Tornado but it

    receive everything. normally two people chat together. Actually

    I solve this problem but it is very simple method and useless. I

    need to subscribe server, server don't send another messages.

    Best Regards



Hello, i'm interested to know how building Client side (android as

client)

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com

mailto:autob...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/autobahnws/1fa25760-2055-4808-8841-a10d65f167d3%40googlegroups.com

<https://groups.google.com/d/msgid/autobahnws/1fa25760-2055-4808-8841-a10d65f167d3%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups “Autobahn” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/tVz9uyMony0/unsubscribe.

To unsubscribe from this group and all its topics, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/5696BE0E.1060201%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes