FreeHEP API
Version current

org.freehep.record.loop.event
Class ConfigurationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.freehep.record.loop.event.RecordEvent
          extended byorg.freehep.record.loop.event.ConfigurationEvent
All Implemented Interfaces:
Serializable

public class ConfigurationEvent
extends RecordEvent

This class is used to notify RecordListener objects that there is new configuration information and that this should be processed before processing any records are handled.

Version:
$Id: ConfigurationEvent.java,v 1.1 2003/05/06 23:02:05 tonyj Exp $
Author:
patton
See Also:
Serialized Form
Source Code:
ConfigurationEvent.java

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConfigurationEvent(Object source, Object configuration)
          Create an instance of this class with the specified object as the source and the specified configuration.
ConfigurationEvent(SequentialRecordLoop source, Object configuration)
          Create an instance of this class with the specified SequentialRecordLoop as the source and the specified configuration.
 
Method Summary
 Object getConfiguration()
          Returns the configuration object associated with this event.
 
Methods inherited from class org.freehep.record.loop.event.RecordEvent
getRecordLoop
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationEvent

public ConfigurationEvent(Object source,
                          Object configuration)
Create an instance of this class with the specified object as the source and the specified configuration.


ConfigurationEvent

public ConfigurationEvent(SequentialRecordLoop source,
                          Object configuration)
Create an instance of this class with the specified SequentialRecordLoop as the source and the specified configuration.

Method Detail

getConfiguration

public Object getConfiguration()
Returns the configuration object associated with this event.

Returns:
the configuration object associated with this event.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.