-
Since the handling of E_JOIN_LISTEN_ACK is processed in a different thread than the one that starts the DataEventListener, it is possible that a call to PushletClient.joinListen will return before the E_JOIN_LISTEN_ACK branch executes to save the session ID. This can cause throwOnInvalidSession if the user calls PushletClient.subscribe immediately after PushletClient.joinListen.
Flow of...
2009-06-05 21:56:31 UTC in Pushlets
-
This feature request is related to my previous request with ID 1815809, I should have been more detailed before.
As stated in the previous request, my need is to handle additional event types in the DataEventListener's run method. The reason for having a protected startDataEventListener method is so that I could start my own version of the DataEventListener. At the moment I have to run what...
2009-06-01 22:27:49 UTC in Pushlets
-
I have an application that requires additional event types other than data, heartbeat, etc. To do this I need to run a custom DataEventListener, but since the method
PushletClient.startDataEventListener() is private its a huge hassle to create a custom class to handle new event types. Making this method protected would easily allow one to subclass PushletClient and provide a customer listener.
2007-10-18 14:03:53 UTC in Pushlets