demo.repairmonitor
Class RepairMonitorStage

java.lang.Object
  |
  +--demo.repairmonitor.RepairMonitorStage
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class RepairMonitorStage
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF

Version:
$Id: RepairMonitorStage.java,v 1.5 2004/05/19 06:33:43 hweather Exp $
Author:
Jeremy Stribling

Nested Class Summary
static class RepairMonitorStage.AttachMessage
          A message indicating a command to attach, or the confirmation of a successful attachment
static class RepairMonitorStage.DetachMessage
          A message indicating a command to detach, or the confirmation of a successful detachment
static class RepairMonitorStage.PtrDeletedMsg
          A message to inform the RepairMonitor that a node has been detected as failed.
 
Constructor Summary
RepairMonitorStage()
           
 
Method Summary
 void destroy()
          Specified by seda.sandStorm.api.EventHandlerIF
 void handleEvent(QueueElementIF element)
          Specified by seda.sandStorm.api.EventHandlerIF
 void handleEvents(QueueElementIF[] elemarr)
          Specified by seda.sandStorm.api.EventHandlerIF
 void init(ConfigDataIF config)
          Specified by seda.sandStorm.api.EventHandlerIF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepairMonitorStage

public RepairMonitorStage()
Method Detail

handleEvents

public void handleEvents(QueueElementIF[] elemarr)
                  throws EventHandlerException
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException

handleEvent

public void handleEvent(QueueElementIF element)
                 throws EventHandlerException
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
init in interface EventHandlerIF
Exception

destroy

public void destroy()
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
destroy in interface EventHandlerIF