Class ReportGenerator

  • All Implemented Interfaces:
    org.somda.sdc.biceps.common.access.MdibAccessObserver

    
    public class ReportGenerator
     implements MdibAccessObserver
                        

    Helper class to generate and send reports.

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <T extends AbstractState> void sendPeriodicStateReport(Map<String, List<T>> states, MdibVersion mdibVersion) Tries to send a periodic state event given states and an MDIB version.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • sendPeriodicStateReport

         <T extends AbstractState> void sendPeriodicStateReport(Map<String, List<T>> states, MdibVersion mdibVersion)

        Tries to send a periodic state event given states and an MDIB version.

        Parameters:
        states - the states to put to the report.
        mdibVersion - the MDIB version used for the report.