|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.percederberg.mib.type.Type | +--net.percederberg.mib.type.SnmpTrapType
A class for handling type information for a SNMP trap type.
Constructor Summary | |
SnmpTrapType(java.lang.String enterprise,
java.util.Vector vars,
java.lang.String desc,
java.lang.String ref)
Creates a new SNMP trap type with the given description. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if this type equals another. |
java.lang.String |
toString()
Returns a description of this type. |
void |
transferType(TypeConverter converter)
Transfers the type information from this type to a type converter object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SnmpTrapType(java.lang.String enterprise, java.util.Vector vars, java.lang.String desc, java.lang.String ref)
enterprise
- the enterprise namevars
- the variable names (or null)desc
- the string description (or null)ref
- the reference text (or null)Method Detail |
public boolean equals(java.lang.Object obj)
equals
in class Type
obj
- an object
public java.lang.String toString()
toString
in class Type
public void transferType(TypeConverter converter)
transferType
in class Type
converter
- a type converter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |