fedora.server.journal.readerwriter.multicast.rmi
Class RmiJournalReceiverHelper

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

public class RmiJournalReceiverHelper
extends java.lang.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 java.lang.String figureIndexedHash(java.lang.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 java.lang.String figureIndexedHash(java.lang.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.