|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.mibs.MibTrap
The TRAP-TYPE construct in SNMPv1 MIB modules is used to specify the events that an agent can report to SNMP managers. A Trap is an SNMPv1 event report message, which is identified by the values of fields enterprise, generic-trap, and specific-trap. This class enables storage of defined traps based on parsing a MIB module.
Method Summary | |
java.lang.String |
getDescription()
Gets the value of the DESCRIPTION clause. |
SnmpOID |
getEnterprise()
Gets the enterprise value for this trap. |
java.lang.String |
getEnterpriseString()
Gets the enterprise name of this trap. |
java.lang.String |
getModuleName()
Returns the name of the module this trap is defined. |
java.lang.String |
getName()
Returns the name of this trap. |
java.lang.String |
getReference()
Gets the value of the REFERENCE clause. |
byte |
getTrapType()
Used to know whether this TRAP is generic or specific type. |
int |
getValue()
Gets the generic or specific trap number. |
java.util.Vector |
getVariables()
Gets the variables as a vector of strings. |
java.lang.String |
toString()
Returns the name of this trap. |
java.lang.String |
toTagString()
Gives the name and complete description of the trap like the MIB definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getModuleName()
public java.lang.String getName()
public int getValue()
getTrapType()
public SnmpOID getEnterprise()
getEnterpriseString()
public java.lang.String getEnterpriseString()
public java.util.Vector getVariables()
public java.lang.String getDescription()
public java.lang.String getReference()
public java.lang.String toString()
toString
in class java.lang.Object
getName()
public java.lang.String toTagString()
public byte getTrapType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |