Hi Andy,
- The documentation at http://docs.basex.org/wiki/Server_Protocol shows nothing in the Server Response column. This seems not to be the case. It looks like a standard BaseX protocol type response is to be expected?
yes you are right, the server response is a standard basex info message.
- The example at https://github.com/BaseXdb/basex-examples/blob/master/src/main/java/org/base... shows session2 watching and then executing. Does the server protocol identify "event pushes" in some way. That is when I receive a message how can I tell if is a event or a command response?
the event reponse is send over a separate socket connection.
-- Andreas
Am 17.05.2012 um 12:22 schrieb Andy Bunce:
Hi, I am looking at adding WATCH and UNWATCH to my Node.js BaseX interface and I have a couple of questions before I start.
The documentation at http://docs.basex.org/wiki/Server_Protocol shows nothing in the Server Response column. This seems not to be the case. It looks like a standard BaseX protocol type response is to be expected?
The example at https://github.com/BaseXdb/basex-examples/blob/master/src/main/java/org/base... shows session2 watching and then executing. Does the server protocol identify "event pushes" in some way. That is when I receive a message how can I tell if is a event or a command response?
/Andy _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk