ostore.agree
Class SignatureStage

java.lang.Object
  |
  +--ostore.agree.SignatureStage
All Implemented Interfaces:
EventHandlerIF, ProfilableIF

public class SignatureStage
extends Object
implements EventHandlerIF, ProfilableIF

Performs RSA-based threshold signatures by request.

Version:
$Id: SignatureStage.java,v 1.1 2002/08/19 17:26:20 srhea Exp $
Author:
Sean C. Rhea

Nested Class Summary
static class SignatureStage.ThresholdSignatureRequest
           
static class SignatureStage.ThresholdSignatureResponse
           
 
Field Summary
protected  int active_requests_count
           
protected  Object active_requests_count_lock
           
protected static boolean DEBUG
           
protected  SinkIF sink
           
protected  String tag
           
protected  long THRESHOLD_SIG_TYPE
           
 
Constructor Summary
SignatureStage()
           
 
Method Summary
protected static void BUG(String msg)
           
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
 int profileSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

protected String tag

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values

active_requests_count_lock

protected Object active_requests_count_lock

active_requests_count

protected int active_requests_count

THRESHOLD_SIG_TYPE

protected long THRESHOLD_SIG_TYPE

sink

protected SinkIF sink
Constructor Detail

SignatureStage

public SignatureStage()
Method Detail

BUG

protected static final void BUG(String msg)

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF
Exception

profileSize

public int profileSize()
Specified by:
profileSize in interface ProfilableIF

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

handleEvents

public void handleEvents(QueueElementIF[] items)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException