Class MonitoringReceiver.MeterReceptionCallback

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<java.lang.String>
    Enclosing class:
    MonitoringReceiver

    private class MonitoringReceiver.MeterReceptionCallback
    extends java.lang.Object
    implements de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<java.lang.String>
    A meter reception callback for receiving meter information from services or ECS runtime.
    Author:
    Holger Eichelberger, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String stream  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MeterReceptionCallback​(java.lang.String stream)
      Creates a callback.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<java.lang.String> getType()  
      void received​(java.lang.String data)  
      • Methods inherited from class java.lang.Object

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

      • stream

        private java.lang.String stream
    • Constructor Detail

      • MeterReceptionCallback

        private MeterReceptionCallback​(java.lang.String stream)
        Creates a callback.
        Parameters:
        stream - the stream name (for logging)
    • Method Detail

      • received

        public void received​(java.lang.String data)
        Specified by:
        received in interface de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<java.lang.String>
      • getType

        public java.lang.Class<java.lang.String> getType()
        Specified by:
        getType in interface de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<java.lang.String>