Hi,
I am using APE with 2 channels (at least this is what I want).
client.core.join(['channel1', 'channel2']);
this fire a multiPipeCreate as I can read from the documentation, but how
can i catch the OnRaw for each channel?
if i do a check like below they both got fired but I am only sending
something to channel1
if (pipe.name == 'channel1') {
// raw for channel 1
client.addEvent('onRaw', function(e) {
console.log("Raw received");
alert(e);
});
} else if(pipe.name == 'channel2') {
// raw for channel 2
client.addEvent('onRaw', function(e) {
console.log("Raw received");
alert(e);
});
}
hope someone can help me
Best Regards,
Ronnie
--
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/