org.fcrepo.server.journal.readerwriter.multicast.rmi
Class RmiJournalReceiverHelper

java.lang.Object
  extended by org.fcrepo.server.journal.readerwriter.multicast.rmi.RmiJournalReceiverHelper

public class RmiJournalReceiverHelper
extends Object

RmiJournalReceiverHelper.java

Utility methods that are used by multiple RMI-related classes.

Version:
$Id: RmiJournalReceiverHelper.java,v 1.3 2007/06/01 17:21:32 jblake Exp $
Author:
jblake

Constructor Summary
RmiJournalReceiverHelper()
           
 
Method Summary
static String figureIndexedHash(String repositoryHash, long entryIndex)
          The writer and the receiver each use this method to figure the hash on each journal entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmiJournalReceiverHelper

public RmiJournalReceiverHelper()
Method Detail

figureIndexedHash

public static String figureIndexedHash(String repositoryHash,
                                       long entryIndex)
The writer and the receiver each use this method to figure the hash on each journal entry. If the receiver calculates a different hash from the one that appears on the entry, it will throw an exception.



Copyright © 2012 DuraSpace. All Rights Reserved.