Class BngStatsManager

  • All Implemented Interfaces:
    org.onosproject.event.ListenerService<org.opencord.bng.BngStatsEvent,​org.opencord.bng.BngStatsEventListener>, org.opencord.bng.BngStatsService

    public class BngStatsManager
    extends org.onosproject.event.AbstractListenerManager<org.opencord.bng.BngStatsEvent,​org.opencord.bng.BngStatsEventListener>
    implements org.opencord.bng.BngStatsService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.opencord.bng.BngService bngService  
      protected org.onosproject.cfg.ComponentConfigService componentConfigService  
      protected org.onosproject.core.CoreService coreService  
      protected org.onosproject.net.device.DeviceService deviceService  
      • Fields inherited from class org.onosproject.event.AbstractListenerManager

        eventDispatcher, listenerRegistry
    • Constructor Summary

      Constructors 
      Constructor Description
      BngStatsManager()  
    • Field Detail

      • componentConfigService

        protected org.onosproject.cfg.ComponentConfigService componentConfigService
      • bngService

        protected org.opencord.bng.BngService bngService
      • deviceService

        protected org.onosproject.net.device.DeviceService deviceService
      • coreService

        protected org.onosproject.core.CoreService coreService
    • Constructor Detail

      • BngStatsManager

        public BngStatsManager()
    • Method Detail

      • activate

        protected void activate()
      • modified

        protected void modified​(org.osgi.service.component.ComponentContext context)
      • deactivate

        protected void deactivate()
      • getStats

        public Map<org.onosproject.net.behaviour.BngProgrammable.BngCounterType,​org.onosproject.net.pi.runtime.PiCounterCellData> getStats​(String bngAttachmentKey)
        Specified by:
        getStats in interface org.opencord.bng.BngStatsService
      • getControlStats

        public org.onosproject.net.pi.runtime.PiCounterCellData getControlStats()
        Specified by:
        getControlStats in interface org.opencord.bng.BngStatsService