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 String
getRouteKey()
Returns route containing prefix.Peer
getToPeer()
peer Id where best path will be advertized.
-
-
-
Method Detail
-
getToPeer
public Peer getToPeer()
Description copied from interface:RouteEntryInfo
peer Id where best path will be advertized.- Specified by:
getToPeer
in interfaceRouteEntryInfo
- Returns:
- PeerId
-
getRouteKey
public String getRouteKey()
Description copied from interface:RouteEntryInfo
Returns route containing prefix.- Specified by:
getRouteKey
in interfaceRouteEntryInfo
- Returns:
- Route key
-
-