Package org.opencord.bng.impl
Class BngStatsManager
- java.lang.Object
-
- org.onosproject.event.AbstractListenerManager<org.opencord.bng.BngStatsEvent,org.opencord.bng.BngStatsEventListener>
-
- org.opencord.bng.impl.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.BngServicebngServiceprotected org.onosproject.cfg.ComponentConfigServicecomponentConfigServiceprotected org.onosproject.core.CoreServicecoreServiceprotected org.onosproject.net.device.DeviceServicedeviceService
-
Constructor Summary
Constructors Constructor Description BngStatsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate()protected voiddeactivate()org.onosproject.net.pi.runtime.PiCounterCellDatagetControlStats()Map<org.onosproject.net.behaviour.BngProgrammable.BngCounterType,org.onosproject.net.pi.runtime.PiCounterCellData>getStats(String bngAttachmentKey)protected voidmodified(org.osgi.service.component.ComponentContext context)-
Methods inherited from class org.onosproject.event.AbstractListenerManager
addListener, post, removeListener
-
-
-
-
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
-
-
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:
getStatsin interfaceorg.opencord.bng.BngStatsService
-
getControlStats
public org.onosproject.net.pi.runtime.PiCounterCellData getControlStats()
- Specified by:
getControlStatsin interfaceorg.opencord.bng.BngStatsService
-
-