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 |
---|---|
MibType |
MibType.createReference()
Creates a type reference to this type.
|
MibType |
MibType.createReference(java.util.ArrayList<?> values)
Creates a constrained type reference to this type.
|
MibType |
MibType.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
MibValueSymbol.getType()
Returns the symbol type.
|
MibType |
MibTypeSymbol.getType()
Returns the symbol type.
|
abstract MibType |
MibType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
Modifier and Type | Method and Description |
---|---|
abstract MibValue |
MibValue.initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
Constructor and Description |
---|
MibValueSymbol(MibFileRef fileRef,
Mib mib,
java.lang.String name,
MibType type,
MibValue value)
Creates a new value symbol.
|
Modifier and Type | Class and Description |
---|---|
class |
SnmpAgentCapabilities
The SNMP agent capabilities macro type.
|
class |
SnmpModuleCompliance
The SNMP module compliance macro type.
|
class |
SnmpModuleIdentity
The SNMP module identity macro type.
|
class |
SnmpNotificationGroup
The SNMP notification group macro type.
|
class |
SnmpNotificationType
The SNMP notification type macro.
|
class |
SnmpObjectGroup
The SNMP object group macro type.
|
class |
SnmpObjectIdentity
The SNMP object identity macro type.
|
class |
SnmpObjectType
The SNMP object type macro type.
|
class |
SnmpTextualConvention
The SNMP textual convention macro type.
|
class |
SnmpTrapType
The SNMP trap type macro.
|
class |
SnmpType
The base SNMP macro type.
|
Modifier and Type | Method and Description |
---|---|
MibType |
SnmpTextualConvention.createReference()
Creates a type reference to this type.
|
MibType |
SnmpTextualConvention.createReference(java.util.ArrayList<?> values)
Creates a constrained type reference to this type.
|
MibType |
SnmpTextualConvention.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
SnmpVariation.getSyntax()
Returns the value syntax.
|
MibType |
SnmpTextualConvention.getSyntax()
Returns the type syntax.
|
MibType |
SnmpObjectType.getSyntax()
Returns the type syntax.
|
MibType |
SnmpCompliance.getSyntax()
Returns the value syntax.
|
MibType |
SnmpIndex.getType()
Returns the index type if present.
|
MibType |
SnmpVariation.getWriteSyntax()
Returns the value write syntax.
|
MibType |
SnmpCompliance.getWriteSyntax()
Returns the value write syntax.
|
MibType |
SnmpTrapType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpTextualConvention.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpObjectType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpObjectIdentity.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpObjectGroup.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpNotificationType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpNotificationGroup.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpModuleIdentity.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpModuleCompliance.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SnmpAgentCapabilities.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
Modifier and Type | Method and Description |
---|---|
static SnmpTextualConvention |
SnmpTextualConvention.findReference(MibType type)
Finds the first SNMP textual convention reference for a 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<SnmpIndex> 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.
|
SnmpTextualConvention(java.lang.String displayHint,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
MibType syntax)
Creates a new SNMP textual convention.
|
SnmpVariation(MibValue value,
MibType syntax,
MibType writeSyntax,
SnmpAccess access,
java.util.ArrayList<MibValue> requiredCells,
MibValue defaultValue,
java.lang.String description)
Creates a new SNMP module variation.
|
Modifier and Type | Class and Description |
---|---|
class |
BitSetType
A bit set MIB type.
|
class |
BooleanType
A boolean MIB type.
|
class |
ChoiceType
A choice MIB type.
|
class |
ElementType
A compound element MIB type.
|
class |
IntegerType
An integer MIB type.
|
class |
NullType
A null MIB type.
|
class |
ObjectIdentifierType
An object identifier MIB type.
|
class |
RealType
A real MIB type.
|
class |
SequenceOfType
An sequence of a MIB type.
|
class |
SequenceType
A sequence MIB type.
|
class |
StringType
A string MIB type.
|
class |
TypeReference
A reference to a type symbol.
|
Modifier and Type | Method and Description |
---|---|
MibType |
StringType.createReference()
Creates a type reference to this type.
|
MibType |
SequenceType.createReference()
Creates a type reference to this type.
|
MibType |
SequenceOfType.createReference()
Creates a type reference to this type.
|
MibType |
RealType.createReference()
Creates a type reference to this type.
|
MibType |
ObjectIdentifierType.createReference()
Creates a type reference to this type.
|
MibType |
NullType.createReference()
Creates a type reference to this type.
|
MibType |
IntegerType.createReference()
Creates a type reference to this type.
|
MibType |
ChoiceType.createReference()
Creates a type reference to this type.
|
MibType |
BooleanType.createReference()
Creates a type reference to this type.
|
MibType |
BitSetType.createReference()
Creates a type reference to this type.
|
MibType |
IntegerType.createReference(java.util.ArrayList<?> values)
Creates a constrained type reference to this type.
|
MibType |
BitSetType.createReference(java.util.ArrayList<?> values)
Creates a constrained type reference to this type.
|
MibType |
StringType.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
SequenceOfType.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
IntegerType.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
BitSetType.createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
MibType |
SequenceOfType.getElementType()
Returns the sequence element type.
|
MibType |
ElementType.getType()
Returns the referenced MIB type.
|
MibType |
TypeReference.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
StringType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SequenceType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
SequenceOfType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
RealType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
ObjectIdentifierType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
NullType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
IntegerType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
ElementType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
ChoiceType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
BooleanType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
MibType |
BitSetType.initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
Modifier and Type | Method and Description |
---|---|
void |
ValueRangeConstraint.initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
void |
ValueConstraint.initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
void |
SizeConstraint.initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
void |
Constraint.initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
void |
CompoundConstraint.initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
boolean |
ValueRangeConstraint.isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
boolean |
ValueConstraint.isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
boolean |
SizeConstraint.isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
boolean |
Constraint.isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
boolean |
CompoundConstraint.isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
Constructor and Description |
---|
ElementType(java.lang.String name,
MibType type)
Creates a new element type.
|
SequenceOfType(MibType base)
Creates a new sequence of a MIB type.
|
SequenceOfType(MibType base,
Constraint constraint)
Creates a new sequence of a MIB type.
|
Modifier and Type | Method and Description |
---|---|
protected int |
NumberValue.getByteSize(MibType type,
int initialBytes)
Returns the number of bytes required by the specified type and
initial value size.
|
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.
|