Enum Class SmiType

java.lang.Object
java.lang.Enum<SmiType>
com.snmp4j.smi.SmiType
All Implemented Interfaces:
Serializable, Comparable<SmiType>, java.lang.constant.Constable

public enum SmiType extends Enum<SmiType>
The SmiType defines the SMI construct (for example OBJECT-TYPE) that defined the SMI object.
Since:
1.2 (Pro edition only)
Author:
Frank Fock
  • Enum Constant Details

    • MODULE_IDENTITY

      public static final SmiType MODULE_IDENTITY
    • OBJECT_NAME

      public static final SmiType OBJECT_NAME
    • OBJECT_IDENTITY

      public static final SmiType OBJECT_IDENTITY
    • OBJECT_TYPE_SCALAR

      public static final SmiType OBJECT_TYPE_SCALAR
    • OBJECT_TYPE_TABLE

      public static final SmiType OBJECT_TYPE_TABLE
    • OBJECT_TYPE_TABLE_ENTRY

      public static final SmiType OBJECT_TYPE_TABLE_ENTRY
    • OBJECT_TYPE_COLUMN

      public static final SmiType OBJECT_TYPE_COLUMN
    • NOTIFICATION_TYPE

      public static final SmiType NOTIFICATION_TYPE
    • TEXTUAL_CONVENTION

      public static final SmiType TEXTUAL_CONVENTION
    • OBJECT_GROUP

      public static final SmiType OBJECT_GROUP
    • NOTIFICATION_GROUP

      public static final SmiType NOTIFICATION_GROUP
    • MODULE_COMPLIANCE

      public static final SmiType MODULE_COMPLIANCE
    • AGENT_CAPABILITIES

      public static final SmiType AGENT_CAPABILITIES
    • TRAP_TYPE

      public static final SmiType TRAP_TYPE
  • Method Details

    • values

      public static SmiType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SmiType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getJasmiType

      public int getJasmiType()
    • fromJasmiType

      public static SmiType fromJasmiType(int jasmiType)