Class RouteEntryInfoImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.impl.RouteEntryInfoImpl
-
- All Implemented Interfaces:
RouteEntryInfo
public final class RouteEntryInfoImpl extends Object implements RouteEntryInfo
-
-
Constructor Summary
Constructors Constructor Description RouteEntryInfoImpl(Peer peer, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRouteKey()Returns route containing prefix.PeergetToPeer()peer Id where best path will be advertized.
-
-
-
Method Detail
-
getToPeer
public Peer getToPeer()
Description copied from interface:RouteEntryInfopeer Id where best path will be advertized.- Specified by:
getToPeerin interfaceRouteEntryInfo- Returns:
- PeerId
-
getRouteKey
public String getRouteKey()
Description copied from interface:RouteEntryInfoReturns route containing prefix.- Specified by:
getRouteKeyin interfaceRouteEntryInfo- Returns:
- Route key
-
-