CVS update: sierra/src/java/org/openprivacy/sierra/store/talon/implementations

From: cvs@openprivacy.org
Date: Thu Feb 22 2001 - 20:37:10 PST

  • Next message: cvs@openprivacy.org: "CVS update: sierra/build"

    Date: Thursday February 22, 19101 @ 20:37
    Author: burton
    CVSWEB Options: -------------------

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

    View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/implementations

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

    Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/store/talon/implementations
    In directory giga:/tmp/cvs-serv32191/src/java/org/openprivacy/sierra/store/talon/implementations

    Modified Files:
            SimpleStore.java
    Log Message:
    simple nym should be working... just MD5s its signatures

    *****************************************************************
    File: sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java

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

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java?annotate=1.3

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java?rev=1.3&content-type=text/x-cvsweb-markup

    CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java.diff?r1=1.3&r2=1.2

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

    Index: sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java
    diff -u sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java:1.2 sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java:1.3
    --- sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java:1.2 Tue Feb 20 14:06:43 2001
    +++ sierra/src/java/org/openprivacy/sierra/store/talon/implementations/SimpleStore.java Thu Feb 22 20:37:10 2001
    @@ -39,10 +39,13 @@
      * sierra restart.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: SimpleStore.java,v 1.2 2001/02/20 22:06:43 burton Exp $
    + * @version $Id: SimpleStore.java,v 1.3 2001/02/23 04:37:10 burton Exp $
      */
     public class SimpleStore extends BaseComponent implements Component, Store {
     
    + private Hashtable store = new Hashtable();
    +
    +
         public void init() throws TalonException {
     
         }
    @@ -50,7 +53,7 @@
         /**
          * @see Store
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: SimpleStore.java,v 1.2 2001/02/20 22:06:43 burton Exp $
    + * @version $Id: SimpleStore.java,v 1.3 2001/02/23 04:37:10 burton Exp $
          */
         public Reputation get( URI url ) {
     
    @@ -62,29 +65,35 @@
         /**
          * @see Store
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: SimpleStore.java,v 1.2 2001/02/20 22:06:43 burton Exp $
    + * @version $Id: SimpleStore.java,v 1.3 2001/02/23 04:37:10 burton Exp $
          */
         public Reputation get( SignatureValue sv ) {
    - return null; //FIXME: should use correct code
    +
    + return (Reputation)store.get( sv );
    +
         }
         
         /**
          * @see Store
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: SimpleStore.java,v 1.2 2001/02/20 22:06:43 burton Exp $
    + * @version $Id: SimpleStore.java,v 1.3 2001/02/23 04:37:10 burton Exp $
          */
         public void put( Reputation reputation ) {
     
    + SignatureValue sv = reputation.getSignatureValue();
    +
    + store.put( sv, reputation );
    +
         }
     
         /**
          * @see Store
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: SimpleStore.java,v 1.2 2001/02/20 22:06:43 burton Exp $
    + * @version $Id: SimpleStore.java,v 1.3 2001/02/23 04:37:10 burton Exp $
          */
         public void populate( RCE rce ) {
     
    - throw new RuntimeException( "Method not supported" );
    + throw new RuntimeException( "Method not yet supported" );
     
         }
         



    This archive was generated by hypermail 2b30 : Thu Feb 22 2001 - 20:39:11 PST