Dynamic channels

34 views
Skip to first unread message

RonnieV

unread,
Aug 8, 2012, 2:00:21 PM8/8/12
to ape-p...@googlegroups.com
Hi,

I am creating a system where a user on my site can invite friends to join for a battle of a specific game at a specific time. I would like to have a channel for each battle so user can chat and I can push score info about a game.
Is there a way to create dynamic channels? so that I can let members of a battle join a battle specific channel?

Thanks in advance,
Ronnie

Louis Charette

unread,
Aug 8, 2012, 2:35:59 PM8/8/12
to ape-p...@googlegroups.com
Just make both player join a new channel. Just make sure each channel/game have a unique name.

Envoyé de mon iPhone
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Ronnie Visser

unread,
Aug 8, 2012, 2:41:15 PM8/8/12
to ape-p...@googlegroups.com
ok! but how does my server side javascript looks like? how do I push the messages to the correct group?

Louis Charette

unread,
Aug 8, 2012, 5:25:25 PM8/8/12
to ape-p...@googlegroups.com
Oh yeah, THE framework... On user side:

Ape.core.getPipe('pipe_pubid').send('raw_name');


  - Louis
Reply all
Reply to author
Forward
0 new messages