C# Class SnmpSharpNet.Vb

Vb item. Stores Oid => value pair for each value
Inheritance: AsnType, ICloneable
Exibir arquivo Open project: griffina/SnmpSharpNet Class Usage Examples

Public Methods

Method Description
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

Method Details

Clone() public method

Clone Vb object
public Clone ( ) : Object
return Object

ResetValue() public method

Reset Vb value to Null
public ResetValue ( ) : void
return void

Set() public method

SET class value from supplied Vb class
public Set ( Vb value ) : void
value Vb Vb class to clone data from
return void

ToString() public method

Return printable string in the format oid: value
public ToString ( ) : string
return string

Vb() public method

Standard constructor. Initializes values to null.
public Vb ( ) : System
return System

Vb() public method

Construct Vb with the supplied OID and Null value
public Vb ( Oid oid ) : System
oid Oid OID
return System

Vb() public method

Construct Vb with the OID and value
public Vb ( Oid oid, AsnType value ) : System
oid Oid OID
value AsnType Value
return System

Vb() public method

Copy constructor. Initialize class with cloned values from second class.
public Vb ( Vb second ) : System
second Vb Vb class to clone data from.
return System

Vb() public method

Construct Vb with the oid value and Null value.
public Vb ( string oid ) : System
oid string String representing OID value to set
return System

decode() public method

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. ///
return int

encode() public method

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. ///
return void