C# Class SnmpSharpNet.NoSuchInstance

Inheritance: V2Error, ICloneable
Show file Open project: griffina/SnmpSharpNet Class Usage Examples

Public Methods

Method Description
Clone ( ) : Object

Returns a duplicate object of self.

NoSuchInstance ( ) : System

Constructor.

NoSuchInstance ( NoSuchInstance second ) : System

Constructor.

ToString ( ) : System.String

Returns the string representation of the object.

decode ( byte buffer, int offset ) : int

Decode BER encoded no-such-instance SNMP version 2 MIB value

encode ( MutableByte buffer ) : void

ASN.1 encode no-such-instance SNMP version 2 MIB value

Method Details

Clone() public method

Returns a duplicate object of self.
public Clone ( ) : Object
return System.Object

NoSuchInstance() public method

Constructor.
public NoSuchInstance ( ) : System
return System

NoSuchInstance() public method

Constructor.
public NoSuchInstance ( NoSuchInstance second ) : System
second NoSuchInstance The object to copy into self.
return System

ToString() public method

Returns the string representation of the object.
public ToString ( ) : System.String
return System.String

decode() public method

Decode BER encoded no-such-instance SNMP version 2 MIB value
Invalid ASN.1 type found when parsing value header Invalid data length in ASN.1 header. Only data length 0 is accepted.
public decode ( byte buffer, int offset ) : int
buffer byte The BER encoded buffer
offset int The offset of the first byte of encoded data
return int

encode() public method

ASN.1 encode no-such-instance SNMP version 2 MIB value
public encode ( MutableByte buffer ) : void
buffer MutableByte MutableByte reference to append encoded variable to
return void