forked from sensiasoft/sensorhub
-
Notifications
You must be signed in to change notification settings - Fork 24
SPS Extensions
Sensia Software edited this page Sep 28, 2015
·
10 revisions
Some needed SPS extensions:
- Reserve asset for exclusive control
- Persistent connection to send low latency commands
Solution #1 Extension to existing Submit operation: Additional XML attribute to keep the connection alive so that server can accept real-time commands records in the incoming stream, optionally through websockets.
Solution #2 Implementation similar to SOS InsertResult: 1st register to get a "command stream ID", then send raw records with KVP request containing the ID, either via persistent HTTP connection or websockets.
Solution #3 Combined with asset locking: Call ReserveAsset request to reserve the asset for a given time period and obtain a "command stream ID" as above.