Sent from my 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/
To my understanding you want to have multiple chats in one page, is
that correct?
Sent from my iPhone
In that case, defining a unique channel for each client could be an idea, but you still can use this global channel you're talking about, depending what command you are using. If you have a custom server-side command, you can sed the reply only to the client sending the command and not the entire channel.
But please tell us more about what you wan to do exactly, it may help us help you!
- Louis
Envoyé de mon iPhone
- Louis
Envoyé de mon iPhone
When a user is connected to the APE server, or any comet server, it is
given an identifier also know as the pubid or publisher id. This pubid
is essentially the index/name of the user object/pipe. Regardeless of
how many channels a user joins it will use the same pubid.
You can look at a pipe as a two way tunnel for reciving and sending
messages to the server. So you can recieve and send data throught the
user object/pipe without been in a chnnel.
A channel is just a goup of pipes, that is why is reffered as an multipipe.
Now, my suggestion to you is to have all users join a channel that you
could use to broadcast messages and for private communication with
specific users use their user pipes
Sent from my iPhone
Just make sure to check for the core.user property from a ready event
Sent from my iPhone
If you join a channel, a multipipe event should be fired. The Userjoin event is when a new user join the channel. This applied to yourself and you'll receive one "userjoin" event for each user already in a channel when you get in this channel. I don't remember what
Show us your code, it may help.
Envoyé de mon iPhone
I don't remember when the uniPipeCreate event is fired... And I can't access the doc website right now...
Show us your code, it may help.
Envoyé de mon iPhone