C# Class SnmpSharpNet.V2Error

Base class for SNMP version 2 error types.
For details see NoSuchInstance, NoSuchObject and EndOfMibView.
Inheritance: AsnType, ICloneable
Afficher le fichier Open project: griffina/SnmpSharpNet Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : Object

Returns a duplicate of the object.

V2Error ( ) : System

Constructor

V2Error ( V2Error second ) : System

Constructor.

Since this class doesn't hold any meaningful information, constructor does nothing with the argument.

decode ( byte buffer, int offset ) : int

Decode BER encoded SNMP version 2 error.

encode ( MutableByte buffer ) : void

BER encode SNMP version 2 error.

Method Details

Clone() public méthode

Returns a duplicate of the object.
public Clone ( ) : Object
Résultat Object

V2Error() public méthode

Constructor
public V2Error ( ) : System
Résultat System

V2Error() public méthode

Constructor.
Since this class doesn't hold any meaningful information, constructor does nothing with the argument.
public V2Error ( V2Error second ) : System
second V2Error Second object
Résultat System

decode() public méthode

Decode BER encoded SNMP version 2 error.
public decode ( byte buffer, int offset ) : int
buffer byte BER encoded buffer
offset int Offset within the buffer to start decoding the value from. This argument will /// receive the new offset to the byte immediately following the decoded value.
Résultat int

encode() public méthode

BER encode SNMP version 2 error.
public encode ( MutableByte buffer ) : void
buffer MutableByte Buffer to append encoded value to the end of
Résultat void