Package org.opennms.protocols.snmp
Class SnmpNoSuchInstance
- java.lang.Object
-
- org.opennms.protocols.snmp.SnmpV2Error
-
- org.opennms.protocols.snmp.SnmpNoSuchInstance
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,SnmpSyntax
public class SnmpNoSuchInstance extends SnmpV2Error
The SnmpNoSuchInstance object is typically returned by an SNMPv2 agent when there is no matching object identifier instance in its tables. The object is an SNMPv2 error condition. This condition can be returned to a manager on a variable by variable basis.- Author:
- Brian Weaver
- See Also:
SnmpVarBind
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static byte
ASNTYPE
The ASN.1 value that defines this variable.
-
Constructor Summary
Constructors Constructor Description SnmpNoSuchInstance()
The default class construtor.SnmpNoSuchInstance(SnmpNoSuchInstance second)
The class copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Returns a duplicate object of self.SnmpSyntax
duplicate()
Returns a duplicate object of self.java.lang.String
toString()
Returns the string representation of the object.byte
typeId()
Returns the ASN.1 type for this particular object.-
Methods inherited from class org.opennms.protocols.snmp.SnmpV2Error
decodeASN, encodeASN
-
-
-
-
Field Detail
-
ASNTYPE
public static final byte ASNTYPE
The ASN.1 value that defines this variable.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SnmpNoSuchInstance
public SnmpNoSuchInstance()
The default class construtor.
-
SnmpNoSuchInstance
public SnmpNoSuchInstance(SnmpNoSuchInstance second)
The class copy constructor.- Parameters:
second
- The object to copy into self.
-
-
Method Detail
-
typeId
public byte typeId()
Returns the ASN.1 type for this particular object.- Specified by:
typeId
in interfaceSnmpSyntax
- Specified by:
typeId
in classSnmpV2Error
- Returns:
- ASN.1 identifier
-
duplicate
public SnmpSyntax duplicate()
Returns a duplicate object of self.- Specified by:
duplicate
in interfaceSnmpSyntax
- Specified by:
duplicate
in classSnmpV2Error
- Returns:
- A duplicate of self
-
clone
public java.lang.Object clone()
Returns a duplicate object of self.- Specified by:
clone
in classSnmpV2Error
- Returns:
- A duplicate of self
-
toString
public java.lang.String toString()
Returns the string representation of the object.- Overrides:
toString
in classjava.lang.Object
-
-