}
@Override
- public RouteEntry createRouteEntry(final boolean isComplex) {
- return isComplex ? new ComplexRouteEntry(this.getNBestPaths(), this.peerTracker)
- : new SimpleRouteEntry(this.getNBestPaths(), this.peerTracker);
- }
-
- public long getNBestPaths() {
- return this.npaths;
+ public RouteEntry createRouteEntry() {
+ return new ComplexRouteEntry(this.npaths, this.peerTracker);
}
}
\ No newline at end of file