Package | Description |
---|---|
net.percederberg.mibble |
Provides the SNMP MIB file loading and validation classes.
|
net.percederberg.mibble.snmp |
Provides the SNMP MIB type classes.
|
net.percederberg.mibble.type |
Provides the primitive ASN.1 type classes.
|
net.percederberg.mibble.value |
Provides the primitive ASN.1 value classes.
|
Modifier and Type | Method and Description |
---|---|
MibValue |
MibValue.createReference()
Creates a value reference to this value.
|
MibValue |
MibValueSymbol.getValue()
Returns the symbol value.
|
abstract MibValue |
MibValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
Modifier and Type | Method and Description |
---|---|
MibValueSymbol |
Mib.getSymbolByValue(MibValue value)
Returns a value symbol from this MIB.
|
abstract boolean |
MibType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
Constructor and Description |
---|
MibValueSymbol(FileLocation location,
Mib mib,
java.lang.String name,
MibType type,
MibValue value)
Creates a new value symbol.
|
Modifier and Type | Method and Description |
---|---|
MibValue |
SnmpObjectType.getAugments()
Returns the augmented index value.
|
MibValue |
SnmpVariation.getDefaultValue()
Returns the default value.
|
MibValue |
SnmpObjectType.getDefaultValue()
Returns the default value.
|
MibValue |
SnmpTrapType.getEnterprise()
Returns the enterprise value.
|
MibValue |
SnmpVariation.getValue()
Returns the value.
|
MibValue |
SnmpRevision.getValue()
Returns the revision number.
|
MibValue |
SnmpIndex.getValue()
Returns the index value if present.
|
MibValue |
SnmpCompliance.getValue()
Returns the value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SnmpTrapType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpTextualConvention.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpObjectType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpObjectIdentity.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpObjectGroup.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpNotificationType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpNotificationGroup.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpModuleIdentity.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpModuleCompliance.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SnmpAgentCapabilities.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
Constructor and Description |
---|
SnmpCompliance(boolean group,
MibValue value,
MibType syntax,
MibType writeSyntax,
SnmpAccess access,
java.lang.String description)
Creates a new SNMP module compliance declaration.
|
SnmpIndex(boolean implied,
MibValue value,
MibType type)
Creates a new SNMP index.
|
SnmpObjectType(MibType syntax,
java.lang.String units,
SnmpAccess access,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
java.util.ArrayList index,
MibValue defaultValue)
Creates a new SNMP object type.
|
SnmpObjectType(MibType syntax,
java.lang.String units,
SnmpAccess access,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
MibValue augments,
MibValue defaultValue)
Creates a new SNMP object type.
|
SnmpRevision(MibValue value,
java.lang.String description)
Creates a new SNMP module identity revision.
|
SnmpTrapType(MibValue enterprise,
java.util.ArrayList variables,
java.lang.String description,
java.lang.String reference)
Creates a new SNMP trap type.
|
SnmpVariation(MibValue value,
MibType syntax,
MibType writeSyntax,
SnmpAccess access,
java.util.ArrayList requiredCells,
MibValue defaultValue,
java.lang.String description)
Creates a new SNMP module variation.
|
Modifier and Type | Method and Description |
---|---|
MibValue |
ValueRangeConstraint.getLowerBound()
Returns the lower bound value.
|
MibValue |
ValueRangeConstraint.getUpperBound()
Returns the upper bound value.
|
MibValue |
ValueConstraint.getValue()
Returns the constraint value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ValueRangeConstraint.isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint.
|
boolean |
ValueConstraint.isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint.
|
boolean |
TypeReference.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
StringType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SizeConstraint.isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint.
|
boolean |
SequenceType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
SequenceOfType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
RealType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
ObjectIdentifierType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
NullType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
IntegerType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
ElementType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
Constraint.isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint.
|
boolean |
CompoundConstraint.isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint set.
|
boolean |
ChoiceType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
BooleanType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
boolean |
BitSetType.isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
Constructor and Description |
---|
ValueConstraint(FileLocation location,
MibValue value)
Creates a new value constraint.
|
ValueRangeConstraint(FileLocation location,
MibValue lower,
boolean strictLower,
MibValue upper,
boolean strictUpper)
Creates a new value range constraint.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryNumberValue
A binary numeric MIB value.
|
class |
BitSetValue
A bit set MIB value.
|
class |
BooleanValue
A boolean MIB value.
|
class |
HexNumberValue
A hexadecimal numeric MIB value.
|
class |
NullValue
A null MIB value.
|
class |
NumberValue
A numeric MIB value.
|
class |
ObjectIdentifierValue
An object identifier value.
|
class |
StringValue
A string MIB value.
|
class |
ValueReference
A reference to a value symbol.
|
Modifier and Type | Method and Description |
---|---|
MibValue |
StringValue.createReference()
Creates a value reference to this value.
|
MibValue |
ObjectIdentifierValue.createReference()
Creates a value reference to this value.
|
MibValue |
NumberValue.createReference()
Creates a value reference to this value.
|
MibValue |
NullValue.createReference()
Creates a value reference to this value.
|
MibValue |
BooleanValue.createReference()
Creates a value reference to this value.
|
MibValue |
BitSetValue.createReference()
Creates a value reference to this value.
|
MibValue |
ValueReference.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
StringValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
ObjectIdentifierValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
NumberValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
NullValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
HexNumberValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
BooleanValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
BitSetValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
MibValue |
BinaryNumberValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|