Indeed, this is not exposed to the server-side JS.
You can look at "userslist.js" which is adding a userlist "hash" to each channels.

Anthony

Moli Cule a écrit :
Hi,

Actually, I was looking for accumulated state info residing at the
server.
If that is not available than using addEvent one would maintain this state
at the server , so one could answer questions like

- How many users are currently subscribed to a given channel.
- When was a user last active etc.,

Thanks
S. Sriram

On Tue, Feb 9, 2010 at 8:06 PM, Anthony Catel <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    There are events :

    Ape.addEvent('join', function(user, channel) {
        var channame = channel.getProperty('name');
    });

    Is this what you were looking for?

    Anthony

    molicule a écrit :

        Hi,

        Is there a server-side way to introspect the ape server to
        determine
        things like
        Names & no. of users signed onto a given channel at any given
        time.

        If not, than can one write a server plugin to do this? If yes,
        than
        where in the source would
        I go look for routines that I could call to elicit the info.

        Besides users in a channel, is info such as time when
        last-active etc.
        maintained if
        not what is the suggested way of building a mechanism to store and
        retrieve suchlike
        info.

        Thanks
        S. Sriram


-- 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]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:ape-project%[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/


--
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/

--
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/

Reply via email to