CVS update: openprivacy/htdocs/notes

From: cvs@openprivacy.org
Date: Mon Dec 18 2000 - 16:39:08 PST


Date: Monday December 18, 19100 @ 16:39
Author: fen
CVSWEB Options: -------------------

Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes

-----------------------------------

Update of /usr/local/cvsroot/openprivacy/htdocs/notes
In directory openprivacy.org:/home/fen/projects/openprivacy/htdocs/notes

Modified Files:
        flow.txt
Log Message:
storeLocally

*****************************************************************
File: openprivacy/htdocs/notes/flow.txt

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?annotate=1.19

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.19&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt.diff?r1=1.19&r2=1.18

-----------------------------------

Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.18 openprivacy/htdocs/notes/flow.txt:1.19
--- openprivacy/htdocs/notes/flow.txt:1.18 Mon Dec 18 13:05:20 2000
+++ openprivacy/htdocs/notes/flow.txt Mon Dec 18 16:39:08 2000
@@ -1,4 +1,4 @@
-$Id: flow.txt,v 1.18 2000/12/18 21:05:20 fen Exp $
+$Id: flow.txt,v 1.19 2000/12/19 00:39:08 fen Exp $
 
 http://pix.comedia.com/OpenPrivacy/20001214/DSCN5532.JPG
 
@@ -55,6 +55,20 @@
         //
         storeLocally(prob) // store prob locally
         hashTable.put(hash, prob) // put prob in hashTable
+}
+
+// example implemenation of storeLocally
+//
+jetspeek.storeLocally(prob) {
+ for each property in prob.getProbPropertyListFromNamespace() {
+ if (self.weCareAbout(property)) {
+ //
+ // this stores the value is a way that we can retrieve it easily
+ // the key is prob.SignatureValue or some unique hash(prob)
+ //
+ store(property, prob.getValue(property))
+ }
+ }
 }
 
 // create a primary (secret,public) key pair [see e.g. openssh]



This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST