Hello Philipp,
you might want to take a look at the ClientListener class. This function seems especially useful in your case: https://github.com/dirkk/basex/blob/master/src/main/java/org/basex/server/Cl... if you really want to modify only queries, but not database commands.
Have you already seen https://docs.basex.org/wiki/Server_Protocol? It describes our Client/Server protocol.
Also, as we are also rooted in the academic world we are (at least I am) also interested what you are doing in your thesis. If you are using BaseX for the next academic breakthrough we would like to know it ;) Also, I am writing my thesis about server stuff in BaseX as well, so I am naturally interested. You can also write my in private, if you prefer.
Cheers, Dirk
On 22/04/14 02:35, Philipp Huber wrote:
Dear BaseX-team,
I am a student writing my master thesis right now. I would look for a spot in the Client / Server Architecture (Server preferred) where I can catch queries entered by the user via the BaseXClient and modify them in several ways (for the first step modifying the string would be enough for me). Due to the fact that the project is huge is my eyes and I cant figure out where to do this, I hope that you can help me! :)
Thanks very much! Yours Sincerely, Philipp Huber