C# Класс SnmpSharpNet.V2Error

Base class for SNMP version 2 error types.
For details see NoSuchInstance, NoSuchObject and EndOfMibView.
Наследование: AsnType, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Clone() публичный Метод

Returns a duplicate of the object.
public Clone ( ) : Object
Результат Object

V2Error() публичный Метод

Constructor
public V2Error ( ) : System
Результат System

V2Error() публичный Метод

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
Результат System

decode() публичный Метод

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.
Результат int

encode() публичный Метод

BER encode SNMP version 2 error.
public encode ( MutableByte buffer ) : void
buffer MutableByte Buffer to append encoded value to the end of
Результат void