Query end points the listeners within TQLEngine which is ready to take any TQL Query requests (CRUD Queries) and send the response back to the user.
Query endpoints are generated when TQL Facet type is instantiated using NewFacetInstance as part of package definition.
T
Supported Protocol Handler
Protocol name | Protocol Prefix |
---|---|
HTTP/S | http:// |
Peripheral | perif:// |
Phidget | phid:// |
UCAM | ucam:// |
Bluetooth / BLE | blth:// |
Websocket | ws:// |
Query end points are defined in the mqp file.
When you deploy or export a project from TQLStudio, it automatically generate the mqp file for you, which defines two query end points:
http:// - for all queries except subscription. This is synchronous
ws:// - subscription is always sent and received from the WebSocket channel. Asynchronous
Describe the common structure of a query end point, which contains the facet ID
Can query end points be changed after deployment?