public static enum UpdatePacket.PathAttribute.Type extends Enum<UpdatePacket.PathAttribute.Type>
Enum Constant and Description |
---|
AGGREGATOR |
AS_PATH |
AS_PATH_LIMIT |
ATOMIC_AGGREGATE |
ATTR_SET |
CLUSTER_LIST |
COMMUNITY |
CONNECTOR_ATTRIBUTE |
EXTENDED_COMMUNITIES |
EXTENDED_V6_COMMUNITIES |
LARGE_COMMUNITIES |
LOCAL_PREF |
MP_REACH_NLRI |
MP_UNREACH_NLRI |
MULTI_EXIT_DISC |
NEXT_HOP |
ORIGIN |
ORIGINATOR_ID |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
abstract Attribute |
parse(io.netty.buffer.ByteBuf buffer,
PeerFlags flags,
Optional<PeerInfo> peerInfo) |
static UpdatePacket.PathAttribute.Type |
valueOf(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.
|
public static final UpdatePacket.PathAttribute.Type ORIGIN
public static final UpdatePacket.PathAttribute.Type AS_PATH
public static final UpdatePacket.PathAttribute.Type NEXT_HOP
public static final UpdatePacket.PathAttribute.Type MULTI_EXIT_DISC
public static final UpdatePacket.PathAttribute.Type LOCAL_PREF
public static final UpdatePacket.PathAttribute.Type ATOMIC_AGGREGATE
public static final UpdatePacket.PathAttribute.Type AGGREGATOR
public static final UpdatePacket.PathAttribute.Type COMMUNITY
public static final UpdatePacket.PathAttribute.Type ORIGINATOR_ID
public static final UpdatePacket.PathAttribute.Type CLUSTER_LIST
public static final UpdatePacket.PathAttribute.Type EXTENDED_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type CONNECTOR_ATTRIBUTE
public static final UpdatePacket.PathAttribute.Type AS_PATH_LIMIT
public static final UpdatePacket.PathAttribute.Type EXTENDED_V6_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type LARGE_COMMUNITIES
public static final UpdatePacket.PathAttribute.Type ATTR_SET
public static final UpdatePacket.PathAttribute.Type UNKNOWN
public static final UpdatePacket.PathAttribute.Type MP_REACH_NLRI
public static final UpdatePacket.PathAttribute.Type MP_UNREACH_NLRI
public static UpdatePacket.PathAttribute.Type[] values()
for (UpdatePacket.PathAttribute.Type c : UpdatePacket.PathAttribute.Type.values()) System.out.println(c);
public static UpdatePacket.PathAttribute.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Attribute parse(io.netty.buffer.ByteBuf buffer, PeerFlags flags, Optional<PeerInfo> peerInfo) throws InvalidPacketException
InvalidPacketException
Copyright © 2020. All rights reserved.