|
If you don't want to receive join events (and not be aware of users on
the channel) you can join a non interactive channel. Juste prefix your
channel name with "*" for example *testchannel. But with non interactive channel you'll not be able to send data to the channel with default SEND command. If you want to do so you have to write a custom command to do so : On the server side : Ape.registerCmd('mySend', true, function(params, cmd) { var chan = Ape.getChannelByPubid(params.pubid, {'msg': params.msg}); }); On the client side : client.addEvent('multiPipeCreate', function(pipe) { pipe.request.send('mySend', {'msg': 'Hello world'}); //When using pipe.request.send the pubid of the channel is automatically added to the params. }); Regards. Snouser wrote: Yes, thats right. :) On Mar 29, 12:12 pm, Nicolas Trani <[email protected]> wrote:Can you be more precise? You mean you don't won't to receive join events? -- Nicolas Trani - Web engineer Weelya - Improve the web 32 rue du faubourg boutonnet 34090 Montpellier Tel: 04 67 169 778 - Fax: 09 57 91 99 91 http://www.weelya.com http://www.ape-project.org-- 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/ To unsubscribe from this group, send email to ape-project+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject. |
- [APE Project] Inline push is being interupted by JOIN Snouser
- Re: [APE Project] Inline push is being interupted by JO... Nicolas Trani
- [APE Project] Re: Inline push is being interupted b... Snouser
- Re: [APE Project] Re: Inline push is being inte... Nicolas Trani
