BGPRouteEntry<T> class

Represents a BGP route with path attributes and policy information

Constructors

BGPRouteEntry({required T destination, T? nextHop, required int asPathLength, required List<int> asPath, required BGPOrigin origin, required int localPreference, required int med, List<String> communities = const [], required DateTime lastUpdate, required bool isDirectlyConnected, required int advertisingAS, Map<String, dynamic> additionalAttributes = const {}})
const

Properties

additionalAttributes Map<String, dynamic>
final
advertisingAS int
final
asPath List<int>
final
asPathLength int
final
communities List<String>
final
destination → T
final
hashCode int
The hash code for this object.
no setteroverride
isDirectlyConnected bool
final
lastUpdate DateTime
final
localPreference int
final
med int
final
nextHop → T?
final
origin BGPOrigin
final
pathAttributes BGPPathAttributes
Gets the path attributes object
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({T? destination, T? nextHop, int? asPathLength, List<int>? asPath, BGPOrigin? origin, int? localPreference, int? med, List<String>? communities, DateTime? lastUpdate, bool? isDirectlyConnected, int? advertisingAS, Map<String, dynamic>? additionalAttributes}) BGPRouteEntry<T>
Creates a copy with updated values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override