Class CordMcastStatisticsManager

  • All Implemented Interfaces:
    org.onosproject.event.ListenerService<org.opencord.cordmcast.CordMcastStatisticsEvent,​org.opencord.cordmcast.CordMcastStatisticsEventListener>, org.opencord.cordmcast.CordMcastStatisticsService

    public class CordMcastStatisticsManager
    extends org.onosproject.event.AbstractListenerManager<org.opencord.cordmcast.CordMcastStatisticsEvent,​org.opencord.cordmcast.CordMcastStatisticsEventListener>
    implements org.opencord.cordmcast.CordMcastStatisticsService
    For managing CordMcastStatisticsEvent.
    • Field Detail

      • mcastService

        protected volatile org.onosproject.mcast.api.MulticastRouteService mcastService
      • componentConfigService

        protected org.onosproject.cfg.ComponentConfigService componentConfigService
      • clusterService

        protected org.onosproject.cluster.ClusterService clusterService
      • leadershipService

        protected org.onosproject.cluster.LeadershipService leadershipService
    • Constructor Detail

      • CordMcastStatisticsManager

        public CordMcastStatisticsManager()
    • Method Detail

      • activate

        public void activate​(org.osgi.service.component.ComponentContext context)
      • modified

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

        public void deactivate()
      • bindMcastRouteService

        protected void bindMcastRouteService​(org.onosproject.mcast.api.MulticastRouteService service)
      • unbindMcastRouteService

        protected void unbindMcastRouteService​(org.onosproject.mcast.api.MulticastRouteService service)
      • getMcastDetails

        public List<org.opencord.cordmcast.CordMcastStatistics> getMcastDetails()
      • setVlanValue

        public void setVlanValue​(org.onlab.packet.VlanId vlanValue)
        Specified by:
        setVlanValue in interface org.opencord.cordmcast.CordMcastStatisticsService
      • setInnerVlanValue

        public void setInnerVlanValue​(org.onlab.packet.VlanId innerVlanValue)
        Specified by:
        setInnerVlanValue in interface org.opencord.cordmcast.CordMcastStatisticsService
      • publishEvent

        protected void publishEvent()
        pushing mcast stat data as event.