ostore.apps.test
Class OSApplicationHowTo

java.lang.Object
  |
  +--ostore.apps.test.OSApplicationHowTo
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class OSApplicationHowTo
extends Object
implements EventHandlerIF, SingleThreadedEventHandlerIF

The OSApplicationHowTo is a simple application that demonstrates how to use the OceanStore client API to write an application that connects to OceanStore.

Version:
$Id: OSApplicationHowTo.java,v 1.11 2003/08/27 20:34:04 eaton Exp $
Author:
Patrick R. Eaton

Constructor Summary
OSApplicationHowTo()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF element)
           
 void handleEvents(QueueElementIF[] element_array)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSApplicationHowTo

public OSApplicationHowTo()
Method Detail

handleEvent

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

handleEvents

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

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