You need to:
- Receive the incoming request, which may not be from a Qt client.
- Interpret the request, validate provided parameters, check permissions etc.
- Call the relevant method(s) in the server code to service the request.
- Send the result back to the client.
You are asking about steps 2 and 3. You can do these any way you like. Step 2 might be disassembling a SOAP, XML-RPC or some other request packet. Step 3 involves some sort of mapping mechanism. There is no magic expose-this-method-on-the-net language extension in C++.
Bookmarks