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.


Variable Index

 o description
Description clause
 o enterprise
The enterprise value
 o enterpriseString
If the enterprise definition cannot be decoded, we'll use this string
 o moduleName
The name of the module this trap is defined in.
 o name
The name of this trap.
 o reference
Reference clause
 o value
The generic or specific trap number
 o variables
The variable bindings as a vector of strings

Constructor Index

 o MibTrap()

Method Index

 o toString()
Return the name of the trap
 o toTagString()
Return the name and complete description of the trap like the MIB definition.

Variables

 o moduleName
 public String moduleName
The name of the module this trap is defined in.

 o name
 public String name
The name of this trap.

 o value
 public int value
The generic or specific trap number

 o enterprise
 public SnmpOID enterprise
The enterprise value

 o enterpriseString
 public String enterpriseString
If the enterprise definition cannot be decoded, we'll use this string

 o variables
 public Vector variables
The variable bindings as a vector of strings

 o description
 public String description
Description clause

 o reference
 public String reference
Reference clause

Constructors

 o MibTrap
 public MibTrap()

Methods

 o toString
 public String toString()
Return the name of the trap

Overrides:
toString in class Object
 o 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