Hi,
let's say I have a channel 'chatChannel'. Each user has one 'public'
property 'userState' automatically added by the server's javascript
code when the user connects, with some code like:
Ape.addEvent('adduser', function(user) {
user.setProperty('userState','idle');
});
Now say the channel contains 100 users. The server decides to change
the 'userState' of one user (say Peter) with some code like:
peterUser.setProperty('userState', 'busy');
1/ I would like to know if both Peter and the 99 other users of the
'chatChannel' will be notified automatically that the 'userState'
property of 'Peter' has been changed.
- if so, how can I catch such event on client side ?
- if not, what would be the way to do such thing ? By sending a custom
RAW in 'chatChannel' or there is some 'built in' way of doing that ?
2/ I would have the same question for properties belonging to a
channel rather than to a user (for example 'currentTopic' property
for the 'chatChannel' pipe).
Thanks in advance.
Nouk²
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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/