org.instrumentmiddleware.cima.plugin.producer
Interface IParcelProducer

All Superinterfaces:
IPlugin, IProducer
All Known Implementing Classes:
AbstractMultiPollerParcelProducer, AbstractSinglePollerParcelProducer, OnDataSinglePollerParcelProducer, RegularIntervalMultiPollerParcelProducer, RegularIntervalSinglePollerParcelProducer

public interface IParcelProducer
extends IProducer

A producer that produces multiple parcels.

Author:
Romain

Method Summary
 org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel[] produceParcels()
          Ask this producer to produce parcels
 
Methods inherited from interface org.instrumentmiddleware.cima.plugin.producer.IProducer
getDeliveryStrategy, releaseParcel, setDeliveryStrategy
 
Methods inherited from interface org.instrumentmiddleware.cima.plugin.IPlugin
doSubscribe, getId, getInformation, getSequenceNumber, processParcel, setStartOnLoad, start, startOnLoad, stop
 

Method Detail

produceParcels

org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel[] produceParcels()
                                                                            throws PluginException
Ask this producer to produce parcels

Returns:
the produced parcels containing data
Throws:
PluginException - if something goes wrong while producing the parcels


Copyright © 2008. All Rights Reserved.