Enum UpdatePacket.PathAttribute.Type
- java.lang.Object
-
- java.lang.Enum<UpdatePacket.PathAttribute.Type>
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bgp.packets.UpdatePacket.PathAttribute.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UpdatePacket.PathAttribute.Type>
- Enclosing class:
- UpdatePacket.PathAttribute
public static enum UpdatePacket.PathAttribute.Type extends java.lang.Enum<UpdatePacket.PathAttribute.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Attribute
parse(io.netty.buffer.ByteBuf buffer, PeerFlags flags, java.util.Optional<PeerInfo> peerInfo)
static UpdatePacket.PathAttribute.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UpdatePacket.PathAttribute.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGIN
public static final UpdatePacket.PathAttribute.Type ORIGIN
-
AS_PATH
public static final UpdatePacket.PathAttribute.Type AS_PATH
-
NEXT_HOP
public static final UpdatePacket.PathAttribute.Type NEXT_HOP
-
MULTI_EXIT_DISC
public static final UpdatePacket.PathAttribute.Type MULTI_EXIT_DISC
-
LOCAL_PREF
public static final UpdatePacket.PathAttribute.Type LOCAL_PREF
-
ATOMIC_AGGREGATE
public static final UpdatePacket.PathAttribute.Type ATOMIC_AGGREGATE
-
AGGREGATOR
public static final UpdatePacket.PathAttribute.Type AGGREGATOR
-
COMMUNITY
public static final UpdatePacket.PathAttribute.Type COMMUNITY
-
ORIGINATOR_ID
public static final UpdatePacket.PathAttribute.Type ORIGINATOR_ID
-
CLUSTER_LIST
public static final UpdatePacket.PathAttribute.Type CLUSTER_LIST
-
EXTENDED_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type EXTENDED_COMMUNITIES
-
CONNECTOR_ATTRIBUTE
public static final UpdatePacket.PathAttribute.Type CONNECTOR_ATTRIBUTE
-
AS_PATH_LIMIT
public static final UpdatePacket.PathAttribute.Type AS_PATH_LIMIT
-
EXTENDED_V6_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type EXTENDED_V6_COMMUNITIES
-
LARGE_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type LARGE_COMMUNITIES
-
ATTR_SET
public static final UpdatePacket.PathAttribute.Type ATTR_SET
-
UNKNOWN
public static final UpdatePacket.PathAttribute.Type UNKNOWN
-
MP_REACH_NLRI
public static final UpdatePacket.PathAttribute.Type MP_REACH_NLRI
-
MP_UNREACH_NLRI
public static final UpdatePacket.PathAttribute.Type MP_UNREACH_NLRI
-
-
Method Detail
-
values
public static UpdatePacket.PathAttribute.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UpdatePacket.PathAttribute.Type c : UpdatePacket.PathAttribute.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdatePacket.PathAttribute.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public abstract Attribute parse(io.netty.buffer.ByteBuf buffer, PeerFlags flags, java.util.Optional<PeerInfo> peerInfo) throws InvalidPacketException
- Throws:
InvalidPacketException
-
-