Class ReportGenerator

java.lang.Object
org.somda.sdc.glue.provider.services.helper.ReportGenerator
All Implemented Interfaces:
MdibAccessObserver

public class ReportGenerator extends Object implements MdibAccessObserver
Helper class to generate and send reports.

As there is currently support for one MDS only (MdibEntity does not come with an MDS handle reference), no SourceMds attribute is set and hence all changes go into one report part.

  • Method Details

    • sendPeriodicStateReport

      public <T extends AbstractState> void sendPeriodicStateReport(List<T> states, MdibVersion mdibVersion)
      Tries to send a periodic state event given states and an MDIB version.
      Type Parameters:
      T - the state type.
      Parameters:
      states - the states to put to the report.
      mdibVersion - the MDIB version used for the report.