C# Класс SnmpSharpNet.Vb

Vb item. Stores Oid => value pair for each value
Наследование: AsnType, ICloneable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clone ( ) : Object

Clone Vb object

ResetValue ( ) : void

Reset Vb value to Null

Set ( Vb value ) : void

SET class value from supplied Vb class

ToString ( ) : string

Return printable string in the format oid: value

Vb ( ) : System

Standard constructor. Initializes values to null.

Vb ( Oid oid ) : System

Construct Vb with the supplied OID and Null value

Vb ( Oid oid, AsnType value ) : System

Construct Vb with the OID and value

Vb ( Vb second ) : System

Copy constructor. Initialize class with cloned values from second class.

Vb ( string oid ) : System

Construct Vb with the oid value and Null value.

decode ( byte buffer, int offset ) : int

Decode BER encoded variable binding.

encode ( MutableByte buffer ) : void

BER encode the variable binding

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

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

Clone Vb object
public Clone ( ) : Object
Результат Object

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

Reset Vb value to Null
public ResetValue ( ) : void
Результат void

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

SET class value from supplied Vb class
public Set ( Vb value ) : void
value Vb Vb class to clone data from
Результат void

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

Return printable string in the format oid: value
public ToString ( ) : string
Результат string

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

Standard constructor. Initializes values to null.
public Vb ( ) : System
Результат System

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

Construct Vb with the supplied OID and Null value
public Vb ( Oid oid ) : System
oid Oid OID
Результат System

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

Construct Vb with the OID and value
public Vb ( Oid oid, AsnType value ) : System
oid Oid OID
value AsnType Value
Результат System

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

Copy constructor. Initialize class with cloned values from second class.
public Vb ( Vb second ) : System
second Vb Vb class to clone data from.
Результат System

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

Construct Vb with the oid value and Null value.
public Vb ( string oid ) : System
oid string String representing OID value to set
Результат System

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

Decode BER encoded variable binding.
public decode ( byte buffer, int offset ) : int
buffer byte BER encoded buffer ///
offset int Offset in the data buffer from where to start decoding. Offset is /// passed by reference and will contain the offset of the byte immediately after the parsed /// variable binding. ///
Результат int

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

BER encode the variable binding
public encode ( MutableByte buffer ) : void
buffer MutableByte class to the end of which encoded variable /// binding values will be added. ///
Результат void