This test works perfectly, I see the connetion on the apeserver logs
from the client:
/APE_JSF/Tools/Check/

However, when I try it with the non mootools lib, apeClientJS.js, and
try with this code below, it will not connect to the server.  Any
ideas would be much appreciated:

     var client = new APE.Client();
     client.load();

     client.addEvent('load', function() {
      console.log('starting client');
      client.core.start();
     });

     client.addEvent('ready', function() {

        console.log('Your client is now connected');

        client.core.join('testChannel');

        client.addEvent('multiPipeCreate', function(pipe, options) {
            pipe.send('Hello world!');
            console.log('Sending Hello world');
         });

        client.onRaw('data', function(raw, pipe) {
            console.log('Receiving : ' + unescape(raw.data.msg));
        });
     });

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