Class BGPStateCollectorImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.impl.state.BGPStateCollectorImpl
-
- All Implemented Interfaces:
BGPStateConsumer,BGPStateProvider
public class BGPStateCollectorImpl extends Object implements BGPStateProvider, BGPStateConsumer
-
-
Constructor Summary
Constructors Constructor Description BGPStateCollectorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(BGPPeerStateConsumer bgpState)registerRib/Peer state.voidbind(BGPRibStateConsumer bgpState)register Rib state.List<BGPPeerState>getPeerStats()List of Registered BGP Peer State.List<BGPRibState>getRibStats()List of Registered BGP Rib States.voidunbind(BGPPeerStateConsumer bgpState)Unregister Peer state.voidunbind(BGPRibStateConsumer bgpState)Unregister Rib state.
-
-
-
Method Detail
-
getRibStats
public List<BGPRibState> getRibStats()
Description copied from interface:BGPStateConsumerList of Registered BGP Rib States.- Specified by:
getRibStatsin interfaceBGPStateConsumer- Returns:
- ribs stats
-
getPeerStats
public List<BGPPeerState> getPeerStats()
Description copied from interface:BGPStateConsumerList of Registered BGP Peer State.- Specified by:
getPeerStatsin interfaceBGPStateConsumer- Returns:
- peers stats
-
bind
public void bind(BGPRibStateConsumer bgpState)
Description copied from interface:BGPStateProviderregister Rib state.- Specified by:
bindin interfaceBGPStateProvider- Parameters:
bgpState- rib State
-
bind
public void bind(BGPPeerStateConsumer bgpState)
Description copied from interface:BGPStateProviderregisterRib/Peer state.- Specified by:
bindin interfaceBGPStateProvider- Parameters:
bgpState- rib State
-
unbind
public void unbind(BGPRibStateConsumer bgpState)
Description copied from interface:BGPStateProviderUnregister Rib state.- Specified by:
unbindin interfaceBGPStateProvider- Parameters:
bgpState- Rib/Peer State
-
unbind
public void unbind(BGPPeerStateConsumer bgpState)
Description copied from interface:BGPStateProviderUnregister Peer state.- Specified by:
unbindin interfaceBGPStateProvider- Parameters:
bgpState- Peer State
-
-