|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.record.loop.event.RecordAdapter
It is an implementation of the
interface
where all the methods are empty. It exists a conveniece class for creators of
RecordListener
RecordListener
objects.
Constructor Summary | |
RecordAdapter()
Create an instance of this class. |
Method Summary | |
void |
configure(ConfigurationEvent event)
Tells this object to configure itself in preparation for the first recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent) call. |
void |
finish(RecordEvent event)
Tells this object that an SequentialRecordLoop to which is has been added has been disposed of, and this object should execute any housekeeping tasks trelated to its participation in this SequentialRecordLoop. |
void |
reconfigure(ConfigurationEvent event)
Tells this object to reconfigure itself in preparation for a new set of recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent) calls. |
void |
recordSupplied(RecordSuppliedEvent event)
Called every time a new record is read by the SequentialRecordLoop's SequentialRecordSource object. |
void |
resume(RecordEvent event)
Tells this object to prepare for a new set of recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent)
calls using the its existing configuration. |
void |
suspend(RecordEvent event)
Tells this object that there will be either a resume(org.freehep.record.loop.event.RecordEvent) or
reconfigure(org.freehep.record.loop.event.ConfigurationEvent) before any more recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent) calls will
be made. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RecordAdapter()
Method Detail |
public void configure(ConfigurationEvent event)
RecordListener
RecordListener.recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent)
call.
configure
in interface RecordListener
event
- a ConfigurationEvent describing the configuration to use.public void finish(RecordEvent event)
RecordListener
finish
in interface RecordListener
event
- the RecordEvent for this event.public void recordSupplied(RecordSuppliedEvent event)
RecordListener
recordSupplied
in interface RecordListener
event
- a RecordSuppliedEvent describing the data supplied.public void reconfigure(ConfigurationEvent event)
RecordListener
RecordListener.recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent)
calls.
reconfigure
in interface RecordListener
event
- a ConfigurationEvent describing the new configuration to
use.public void resume(RecordEvent event)
RecordListener
RecordListener.recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent)
calls using the its existing configuration.
resume
in interface RecordListener
event
- the RecordEvent for this event.public void suspend(RecordEvent event)
RecordListener
RecordListener.resume(org.freehep.record.loop.event.RecordEvent)
or
RecordListener.reconfigure(org.freehep.record.loop.event.ConfigurationEvent)
before any more RecordListener.recordSupplied(org.freehep.record.loop.event.RecordSuppliedEvent)
calls will
be made.
suspend
in interface RecordListener
event
- the RecordEvent for this event.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |