| 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--uk.co.westhawk.snmp.stack.AsnObject
        |
        +--uk.co.westhawk.snmp.stack.AsnPrimitive
This class represents the Exception values for SNMP v2c, v3: SNMP_VAR_NOSUCHOBJECT, SNMP_VAR_NOSUCHINSTANCE, SNMP_VAR_ENDOFMIBVIEW
SnmpConstants.SNMP_VAR_NOSUCHOBJECT, 
SnmpConstants.SNMP_VAR_NOSUCHINSTANCE, 
SnmpConstants.SNMP_VAR_ENDOFMIBVIEW| Fields inherited from class uk.co.westhawk.snmp.stack.AsnObject | 
contentsLength, debug, headerLength, isCorrect, startPos, type | 
| Constructor Summary | |
AsnPrimitive(byte t)
Default Constructor.  | 
|
| Method Summary | |
 boolean | 
equals(java.lang.Object obj)
Compares this object to the specified object.  | 
 int | 
hashCode()
Returns a hash code for this AsnPrimitive. | 
 java.lang.String | 
toString()
Returns the string representation of the AsnPrimitive.  | 
| Methods inherited from class uk.co.westhawk.snmp.stack.AsnObject | 
getRespType, getRespTypeString, setDebug | 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public AsnPrimitive(byte t)
t - The primitive typeSnmpConstants.SNMP_VAR_NOSUCHOBJECT, 
SnmpConstants.SNMP_VAR_NOSUCHINSTANCE, 
SnmpConstants.SNMP_VAR_ENDOFMIBVIEW| Method Detail | 
public java.lang.String toString()
toString in class AsnObjectpublic boolean equals(java.lang.Object obj)
true if and only if the argument is not
 null and is an AsnPrimitive object that
 contains the same type as this object.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same;
          false otherwise.public int hashCode()
AsnPrimitive.hashCode in class java.lang.ObjectAsnPrimitive object.
  | 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||