From: cvs@openprivacy.orgCVS update: openprivacy/htdocs/notes
Date: Friday December 15, 19100 @ 20:29
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:
updated config object
*****************************************************************
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.6
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.6&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.6&r2=1.5
-----------------------------------
Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.5 openprivacy/htdocs/notes/flow.txt:1.6
--- openprivacy/htdocs/notes/flow.txt:1.5 Fri Dec 15 19:15:21 2000
+++ openprivacy/htdocs/notes/flow.txt Fri Dec 15 20:29:25 2000
@@ -1,5 +1,12 @@
- Agent1 JetsPeek Agent2
+Agent1 JetsPeek Agent2
+
+J1:RSS1 J1:RSS2
+J2:RSS2 J2:RSS2
+J2:RSS3 J2:RSS3
+J3:RSS4
+
+
// create a primary (secret,public) key pair
// store this pair as a primary (top-level) pair
//
@@ -16,12 +23,13 @@
facility=getStream,
filter=keyword, // what is the specification of a
// filter (should be general)?
- callbackAddr=A1) // onion-routed for security
+ returnAddr=A1) // onion-routed for security
// SCDS returns streams collection (size of collection may be zero)
//
A1<=JP: sendMessage(address=A1,
- value=rss[]) // (may be null)
+ value=rss[], // (may be null)
+ returnAddr=NULL) // no reply required
// or SCDS may return an exception is the service is not cutrrently available
//
@@ -32,24 +40,30 @@
//
A1: (J1s,J1p) = createPseudonym(N1s)
-// configuration object
-// need ability to set configuration for a particular Jx
-// ********** define the rest of the options ***********
-A1: conf = new Config(secretKey=J1s, publicKey=J1p)
- conf.setAnon(false)
- ProbFactory.config(conf)
+// configuration object - ability to set configuration for a particular Jx
+// thread local; ability to save sessions; sessions are indexed by PublicKey
+//
+A1: new ProbConfig() : ProbConfig
+ .setAnon(PublicKey, boolean) : void
+ .getAnon(PublicKey) : boolean
+ .getPublicKeys() : PublicKey[]
+ .getPrivateKey(PublicKey) : PrivateKey
+ .getPrivateKey() { .getPrivateKey(getCurrentPublicKey()) }
+ .getProperty(PublicKey) : Property
// create prob for reputation publication
-// this automagically stores the data locally (according to config)
+// ProbFactory calls ProbConfig methods to figure out what to do
+//
A1: prob_J1 = ProbFactory.create(
OpinionFactory.create(
reference=RSS1.getURI,
ontology="OPdefault",
- payload="cool"))
+ payload="bicycles"))
// send the prob to JetsPeek (which is acting as a reputation server)
// other capabilities include DELETE, GRAFT, ...?
// refURI used for DELETE and GRAFT
+//
A1=>JP: sendMessage(facility=INSERT, prob=prob_J1, refURI="")
// store the data locally
@@ -58,7 +72,7 @@
// J1 subscribes to RSS1 via standard TCP/IP mechanism
// RSS is a multi-valued entity for RSS_090, RSS_091, and RSS_1.0
-A2=>JP: sendMessage(facility=SELECT, namespace=RSS, signature=J1, callbackAddr=A2)
+A2=>JP: sendMessage(facility=SELECT, namespace=RSS, signature=J1, returnAddr=A2)
// publish stream pseudonymously
A1+>JP: SendMessage(facility=publish, namespace=RSS, signature=J4)
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST