C# Class SnmpSharpNet.NoSuchObject

Inheritance: V2Error, ICloneable
显示文件 Open project: griffina/SnmpSharpNet Class Usage Examples

Public Methods

Method Description
Clone ( ) : Object

Returns a duplicate object of self.

NoSuchObject ( ) : System

Constructor.

NoSuchObject ( NoSuchObject second ) : System

Constructor

ToString ( ) : System.String

Returns the string representation of the object.

decode ( byte buffer, int offset ) : int

Decode ASN.1 encoded no-such-object SNMP version 2 MIB value

encode ( MutableByte buffer ) : void

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

Method Details

Clone() public method

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

NoSuchObject() public method

Constructor.
public NoSuchObject ( ) : System
return System

NoSuchObject() public method

Constructor
public NoSuchObject ( NoSuchObject second ) : System
second NoSuchObject /// Source for data to initialize this instance with. /// /// Irrelevant for this type since no data is stored in the class. ///
return System

ToString() public method

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

decode() public method

Decode ASN.1 encoded no-such-object SNMP version 2 MIB value
public decode ( byte buffer, int offset ) : int
buffer byte The encoded buffer
offset int The offset of the first byte of encoded data
return int

encode() public method

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