--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email to ape-project...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sincerely,
Pablo Tejada
From Mobile
I am not sure about the apeDisconnect event. I am more familiar with the APE protocol then with JSF itself. Are you listening for this event in a channel or the client?
Since the APE backend is written in C I can only assume how some parts work. If you try to reconnect to the same frequency then APE will flush a queue of raws that have been waiting to be sent. This behavior was only experienced with websockets. When attempting to reconnect a new frequency should be used, as if a new browser tab was opened.
With that been said i dont think JSF was built to resume connectivity the way you are trying to. New connection, new APE client.
Each protocol works different. The websocket transport is suppose to be better for your app and the server itself. Websockets uses a single bi-directional connection while long polling makes a new connection on every raw.
Even the lifespan of a socket might be different for the websocket transport. It can be 20 instead of 45 seconds.
I had a demo to compare the two but is not working
http://ptejada.com/script/ApePubSub/demo/payloadTest/