From: cvs@openprivacy.orgCVS update: openprivacy/htdocs/notes
Date: Monday December 18, 19100 @ 19:23
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:
agent1 subscription system cleaned up
*****************************************************************
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.30
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.30&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.30&r2=1.29
-----------------------------------
Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.29 openprivacy/htdocs/notes/flow.txt:1.30
--- openprivacy/htdocs/notes/flow.txt:1.29 Mon Dec 18 19:08:12 2000
+++ openprivacy/htdocs/notes/flow.txt Mon Dec 18 19:23:32 2000
@@ -1,4 +1,4 @@
-$Id: flow.txt,v 1.29 2000/12/19 03:08:12 fen Exp $
+$Id: flow.txt,v 1.30 2000/12/19 03:23:32 fen Exp $
http://pix.comedia.com/OpenPrivacy/20001214/DSCN5532.JPG
@@ -133,7 +133,7 @@
//
(AJ1s, AJ1p) = agent1.reputationServer.createPublicKeyPair(AN1s)
-// create prob for reputation publication
+// create prob for reputation publication (subscribe to RSS1)
//
op = New Opinion // create new opinion object
op.setProperty("namespace", "RSS*")
@@ -157,6 +157,36 @@
facility=putReputation, // essentially a graft
prob=prob_AJ1) // prob_AJ1 includes reference URI
+// subscribe AJ2 to streams RSS2 & RSS3
+//
+(AJ2s, AJ2p) = agent1.reputationServer.createPublicKeyPair(AN1s)
+op = New Opinion // create new opinion object
+op.setProperty("namespace", "RSS*")
+op.setProperty("ontology", "OpenPrivacyDefaultOntology")
+op.setProperty("payload", "cool")
+prob_J2a = agent1.ProbFactory.create(op, AJ2s)
+agent1.storeLocally(prob_J2a)
+agent1.categorize(prob_J2a, MyNews")
+agent1.sendMessage(address=JetsPeek, facility=putReputation, prob=prob_J2a)
+
+op.setProperty("reference", RSS3.getURL)
+prob_J2b = agent1.ProbFactory.create(op, AJ2s)
+agent1.storeLocally(prob_J2b)
+agent1.categorize(prob_J2b, MyNews")
+agent1.sendMessage(address=JetsPeek, facility=putReputation, prob=prob_J2b)
+
+// subscribe AJ3 to stream RSS4 (don't publish this one)
+//
+(AJ3s, AJ3p) = agent1.reputationServer.createPublicKeyPair(AN1s)
+op = New Opinion // create new opinion object
+op.setProperty("namespace", "RSS*")
+op.setProperty("ontology", "OpenPrivacyDefaultOntology")
+op.setProperty("payload", "cool")
+prob_J2a = agent1.ProbFactory.create(op, AJ3s)
+agent1.storeLocally(prob_J3)
+categorize(J3, PRIVATE) // overload or new function?
+agent1.categorize(prob_J3, MyNews")
+
// ========== in JetsPeek ==========
// TODO: storage on JetsPeek
@@ -167,39 +197,6 @@
// reputations for each of the RSS channels it holds and J1 adds a graft?
//
JP:
-
-// get streams for J2
-//
-A1: (J2s,J2p) = createPseudonym(N1s)
-A1: op = OpinionFactory.create(
- reference=RSS2.getURI,
- ontology="OPdefault",
- payload="cool")
-A1: prob_J1 = ProbFactory.create(op, J2s)
-A1: storeLocally(prob_J2, J2p)
-A1: categorize(prob_J2, MyNews")
-A1=>JP: SendMessage(facility=putReputation, rep=prob_J2)
-
-A1: op = OpinionFactory.create(
- reference=RSS3.getURI,
- ontology="OPdefault",
- payload="cool")
-A1: prob_J1 = ProbFactory.create(op, J2s)
-A1: storeLocally(prob_J2, J2p)
-A1: categorize(prob_J2, MyNews")
-A1=>JP: SendMessage(facility=putReputation, rep=prob_J2)
-
-// get stream for J3 (don't publish this one)
-//
-A1: (J3s,J3p) = createPseudonym(N1s)
-A1: op = OpinionFactory.create(
- reference=RSS4.getURI,
- ontology="OPdefault",
- payload="cool")
-A1: prob_J1 = ProbFactory.create(op, J3s)
-A1: storeLocally(prob_J3, J3p)
-A1: categorize(J3, PRIVATE) // overload or new function?
-A1: categorize(prob_J3, MyNews")
JP: parse into RSS channels
JP: for each rssChannel in (RSS_channel
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST