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?

Snouser wrote:
    
I'm unsing inlinepush on my server.
Right now the request to the server is being interuped by a user
joning the server.
Is it possible to turn this off?
      
This is the data being send from the server:
      
[{"time":"1269821837","raw":"JOIN","data":{"user":
{"casttype":"uni","pubid":"7c3544f028b20c8445c629734b6bb539"},"pipe":
{"casttype":"multi","pubid":"3bc2c9e86d698c90e501d4af8d6db755","properties":
{"name":"testchannel"}}}}]
      
--
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 91http://www.weelya.comhttp://www.ape-project.org
    

  


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

Reply via email to