Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1.  
  2. // Assert URI and apply data based on that
  3.  
  4. // root/concept/axioms/criteria
  5. // R7498999 / #5#5 / _8_8 / 9 / ___
  6.  
  7.  
  8. // root/uri/queue/message
  9. // root/uri/queue/message/props
  10.  
  11. // hash/#5#5/_8_8/987/{props bucket}
  12.  
  13. // HashTable data interface
  14. function post(uri, data) {} // when all successful - push to publish
  15.  
  16. function put(uri, data) {} // no return
  17.  
  18. function get(uri, data) {} // push to publishResponse, get data by URIs
  19.  
  20. function set(uri, data) {} // find existing message and replace it with an update
  21.  
  22. function drop(uri, data) {} // remove from queue
  23.  
  24.  
  25. class Base {
  26. constructor([msg(uri),[concept[class declaration, equivalent, subclasses], tokens[dictionaries, runtime actions], literal]) {
  27. this.declareInternal('uri', uri);
  28. this.declareInternal('concepts', concepts);
  29. this.declareInternal('tokens', tokens);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement