All Packages Class Hierarchy This Package Previous Next Index
Class Snmp.MibTrap
java.lang.Object
|
+----Snmp.MibTrap
- public class MibTrap
- extends Object
This class enables storage of defined traps based on parsing a MIB module.
They are stored as a list (Hashtable) of MibTrap instances in the
MibModule instance corresponding to the parsed module that contained
the trap definitions. This Hashtable is the trapList
variable in the associated MibModule.
-
description
- Description clause
-
enterprise
- The enterprise value
-
enterpriseString
- If the enterprise definition cannot be decoded, we'll use this string
-
moduleName
- The name of the module this trap is defined in.
-
name
- The name of this trap.
-
reference
- Reference clause
-
value
- The generic or specific trap number
-
variables
- The variable bindings as a vector of strings
-
MibTrap()
-
-
toString()
- Return the name of the trap
-
toTagString()
- Return the name and complete description of the trap like the MIB definition.
moduleName
public String moduleName
- The name of the module this trap is defined in.
name
public String name
- The name of this trap.
value
public int value
- The generic or specific trap number
enterprise
public SnmpOID enterprise
- The enterprise value
enterpriseString
public String enterpriseString
- If the enterprise definition cannot be decoded, we'll use this string
variables
public Vector variables
- The variable bindings as a vector of strings
description
public String description
- Description clause
reference
public String reference
- Reference clause
MibTrap
public MibTrap()
toString
public String toString()
- Return the name of the trap
- Overrides:
- toString in class Object
toTagString
public String toTagString()
- Return the name and complete description of the trap like the MIB definition.
All Packages Class Hierarchy This Package Previous Next Index