Hi,
I would like to propose the attached fixes.
In current impl, the publish response is not sent correctly.
In particular, there is no successful field and is an extra data field.
Need to move the data field to a deliver response message.
Summary of my changes:
- change onData in BayeuxHandler to onPublish
- change the code to parse and write multiple Bayeux requests/responses
- change event handling for notify all verb rather than just one verb
Besides modifying existing files, four files are added: Publish.java,
PublishRequest.java, PublishResponse.java, DeliverResponse.java
Please let me know your opinion.
Regards,
Shing Wai Chan