FreeHEP API
Version current

org.freehep.record.loop.event
Class RecordSuppliedEvent

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

public class RecordSuppliedEvent
extends RecordEvent

This class is used to notify RecordListener that a new record has been supplied by the SequentialRecordSource.

Version:
$Id: RecordSuppliedEvent.java,v 1.2 2004/01/19 21:23:52 duns Exp $
Author:
patton
See Also:
Serialized Form
Source Code:
RecordSuppliedEvent.java

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RecordSuppliedEvent(Object source, Object record)
          Create an instance of this class with the specified record as the source and specified record.
RecordSuppliedEvent(SequentialRecordLoop source, Object object)
          Create an instance of this class with the specified SequentialRecordLoop as the source.
 
Method Summary
 Object getRecord()
          Returns the record 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

RecordSuppliedEvent

public RecordSuppliedEvent(Object source,
                           Object record)
Create an instance of this class with the specified record as the source and specified record.

Parameters:
source - the SequentialRecordLoop record which generated this event.
record - the new record that was supplied.

RecordSuppliedEvent

public RecordSuppliedEvent(SequentialRecordLoop source,
                           Object object)
Create an instance of this class with the specified SequentialRecordLoop as the source.

Parameters:
source - the SequentialRecordLoop record which generated this event.
object - the new record that was supplied.
Method Detail

getRecord

public Object getRecord()
Returns the record associated with this event.

Returns:
the record associated with this event.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.