public class NotificationLogMib.SnmpAdminString extends Object implements TextualConvention
| Constructor and Description |
|---|
SnmpAdminString() |
| Modifier and Type | Method and Description |
|---|---|
MOColumn |
createColumn(int columnID,
int syntax,
MOAccess access,
org.snmp4j.smi.Variable defaultValue,
boolean mutableInService)
Creates a MOColumn instance of this TC specified by the column ID,
access, default value, and mutable flag.
|
org.snmp4j.smi.Variable |
createInitialValue()
Creates an initial value for an object instance of this textual convention.
|
MOScalar |
createScalar(org.snmp4j.smi.OID oid,
MOAccess access,
org.snmp4j.smi.Variable value)
Creates a MOScalar instance of this TC specified by OID, access, and
optional value.
|
String |
getModuleName()
Returns the MIB module name that defined this textual convention.
|
String |
getName()
Returns the name of the textual convention as defined in the MIB module.
|
public String getModuleName()
TextualConventiongetModuleName in interface TextualConventionpublic String getName()
TextualConventiongetName in interface TextualConventionpublic org.snmp4j.smi.Variable createInitialValue()
TextualConventioncreateInitialValue in interface TextualConventionpublic MOScalar createScalar(org.snmp4j.smi.OID oid, MOAccess access, org.snmp4j.smi.Variable value)
TextualConventioncreateScalar in interface TextualConventionoid - the OID of the scalar isntance.access - the access definition.value - the Variable instance containing the value of the
scalar. If value is null, the TC should create
an initial value with TextualConvention.createInitialValue().public MOColumn createColumn(int columnID, int syntax, MOAccess access, org.snmp4j.smi.Variable defaultValue, boolean mutableInService)
TextualConventioncreateColumn in interface TextualConventioncolumnID - the column id as defined in the MIB module (typically starting at one).syntax - the SMI syntax supported by the column.access - the access definition.defaultValue - the default value or null if there is no DEFVAL clause for
this column.mutableInService - true if this column may be modified while row is in
service.Copyright © 2020 SNMP4J.org. All rights reserved.