Class ScopeFieldSpecifier
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.netflow.parser.netflow9.proto.ScopeFieldSpecifier
-
-
Field Summary
Fields Modifier and Type Field Description InformationElement
field
int
fieldLength
int
fieldType
static java.lang.String
SCOPE_CACHE
static java.lang.String
SCOPE_INTERFACE
static java.lang.String
SCOPE_LINE_CARD
static java.lang.String
SCOPE_SYSTEM
static java.lang.String
SCOPE_TEMPLATE
static int
SIZE
-
Constructor Summary
Constructors Constructor Description ScopeFieldSpecifier(io.netty.buffer.ByteBuf buffer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<Value<?>>
buildScopeValues(DataRecord record)
java.lang.String
getName()
int
length()
Value<?>
parse(Session.Resolver resolver, io.netty.buffer.ByteBuf buffer)
java.lang.String
toString()
-
-
-
Field Detail
-
SCOPE_SYSTEM
public static final java.lang.String SCOPE_SYSTEM
- See Also:
- Constant Field Values
-
SCOPE_INTERFACE
public static final java.lang.String SCOPE_INTERFACE
- See Also:
- Constant Field Values
-
SCOPE_LINE_CARD
public static final java.lang.String SCOPE_LINE_CARD
- See Also:
- Constant Field Values
-
SCOPE_CACHE
public static final java.lang.String SCOPE_CACHE
- See Also:
- Constant Field Values
-
SCOPE_TEMPLATE
public static final java.lang.String SCOPE_TEMPLATE
- See Also:
- Constant Field Values
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
fieldType
public final int fieldType
-
fieldLength
public final int fieldLength
-
field
public final InformationElement field
-
-
Constructor Detail
-
ScopeFieldSpecifier
public ScopeFieldSpecifier(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
- Throws:
InvalidPacketException
-
-
Method Detail
-
parse
public Value<?> parse(Session.Resolver resolver, io.netty.buffer.ByteBuf buffer) throws InvalidPacketException, MissingTemplateException
- Specified by:
parse
in interfaceField
- Throws:
InvalidPacketException
MissingTemplateException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
buildScopeValues
public static java.util.List<Value<?>> buildScopeValues(DataRecord record)
-
-