diff bin/clientdemo @ 798:5c158d37f1ce

autoretry websocket. fix rdflib quad patching. only rerun handlers that asked for the affected subj-preds. Ignore-this: 31e03cf07e5d460ea5c72d7beccefe7
author drewp@bigasterisk.com
date Mon, 16 Jul 2012 00:49:57 +0000
parents 904913de4599
children a38955ba6f40
line wrap: on
line diff
--- a/bin/clientdemo	Fri Jul 13 19:25:03 2012 +0000
+++ b/bin/clientdemo	Mon Jul 16 00:49:57 2012 +0000
@@ -4,7 +4,7 @@
 sys.path.append(".")
 from twisted.internet import reactor
 import cyclone.web, cyclone.httpclient, logging
-from rdflib import Namespace, Literal
+from rdflib import Namespace, Literal, URIRef
 from light9.rdfdb.patch import Patch
 from light9.rdfdb.syncedgraph import SyncedGraph
 
@@ -14,6 +14,12 @@
 
     g = SyncedGraph("clientdemo")
 
+    from light9.Submaster import PersistentSubmaster
+    sub = PersistentSubmaster(graph=g, uri=URIRef("http://light9.bigasterisk.com/sub/bcools"))
+
+    #get sub to show its updating name, then push that all the way into KC gui so we can see just names refresh in there
+
+
     L9 = Namespace("http://light9.bigasterisk.com/")
     def updateDemoValue():
         v = list(g.objects(L9['demo'], L9['is']))