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 void
bind(BGPPeerStateConsumer bgpState)
registerRib/Peer state.void
bind(BGPRibStateConsumer bgpState)
register Rib state.List<BGPPeerState>
getPeerStats()
List of Registered BGP Peer State.List<BGPRibState>
getRibStats()
List of Registered BGP Rib States.void
unbind(BGPPeerStateConsumer bgpState)
Unregister Peer state.void
unbind(BGPRibStateConsumer bgpState)
Unregister Rib state.
-
-
-
Method Detail
-
getRibStats
public List<BGPRibState> getRibStats()
Description copied from interface:BGPStateConsumer
List of Registered BGP Rib States.- Specified by:
getRibStats
in interfaceBGPStateConsumer
- Returns:
- ribs stats
-
getPeerStats
public List<BGPPeerState> getPeerStats()
Description copied from interface:BGPStateConsumer
List of Registered BGP Peer State.- Specified by:
getPeerStats
in interfaceBGPStateConsumer
- Returns:
- peers stats
-
bind
public void bind(BGPRibStateConsumer bgpState)
Description copied from interface:BGPStateProvider
register Rib state.- Specified by:
bind
in interfaceBGPStateProvider
- Parameters:
bgpState
- rib State
-
bind
public void bind(BGPPeerStateConsumer bgpState)
Description copied from interface:BGPStateProvider
registerRib/Peer state.- Specified by:
bind
in interfaceBGPStateProvider
- Parameters:
bgpState
- rib State
-
unbind
public void unbind(BGPRibStateConsumer bgpState)
Description copied from interface:BGPStateProvider
Unregister Rib state.- Specified by:
unbind
in interfaceBGPStateProvider
- Parameters:
bgpState
- Rib/Peer State
-
unbind
public void unbind(BGPPeerStateConsumer bgpState)
Description copied from interface:BGPStateProvider
Unregister Peer state.- Specified by:
unbind
in interfaceBGPStateProvider
- Parameters:
bgpState
- Peer State
-
-