org.opennms.protocols.snmp
Class SnmpEndOfMibView

java.lang.Object
  |
  +--org.opennms.protocols.snmp.SnmpV2Error
        |
        +--org.opennms.protocols.snmp.SnmpEndOfMibView
All Implemented Interfaces:
Cloneable, Serializable, SnmpSyntax

public class SnmpEndOfMibView
extends SnmpV2Error

The SnmpEndOfMibView object is typically returned by an SNMPv2 agent when there is no lexagraphically next object identifier in its tables. The object is an SNMPv2 error condition. This condition can be returned to a manager on a variable by variable basis.

Version:
$Revision: 1.7 $
Author:
Brian Weaver
See Also:
SnmpVarBind, Serialized Form

Field Summary
static byte ASNTYPE
          The ASN.1 value that defines this variable.
(package private) static long serialVersionUID
          Required for version control on serialization support.
 
Constructor Summary
SnmpEndOfMibView()
          The default class construtor.
SnmpEndOfMibView(SnmpEndOfMibView second)
          The class copy constructor.
 
Method Summary
 Object clone()
          Returns a duplicate object of self.
 SnmpSyntax duplicate()
          Returns a duplicate object of self.
 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
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Required for version control on serialization support.

ASNTYPE

public static final byte ASNTYPE
The ASN.1 value that defines this variable.
Constructor Detail

SnmpEndOfMibView

public SnmpEndOfMibView()
The default class construtor.

SnmpEndOfMibView

public SnmpEndOfMibView(SnmpEndOfMibView 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.
Overrides:
typeId in class SnmpV2Error
Returns:
ASN.1 identifier

duplicate

public SnmpSyntax duplicate()
Returns a duplicate object of self.
Overrides:
duplicate in class SnmpV2Error
Returns:
A duplicate of self

clone

public Object clone()
Returns a duplicate object of self.
Overrides:
clone in class SnmpV2Error
Returns:
A duplicate of self

toString

public String toString()
Returns the string representation of the object.
Overrides:
toString in class Object