C# Class SnmpSharpNet.Vb

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

Méthodes publiques

Méthode 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 méthode

Clone Vb object
public Clone ( ) : Object
Résultat Object

ResetValue() public méthode

Reset Vb value to Null
public ResetValue ( ) : void
Résultat void

Set() public méthode

SET class value from supplied Vb class
public Set ( Vb value ) : void
value Vb Vb class to clone data from
Résultat void

ToString() public méthode

Return printable string in the format oid: value
public ToString ( ) : string
Résultat string

Vb() public méthode

Standard constructor. Initializes values to null.
public Vb ( ) : System
Résultat System

Vb() public méthode

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

Vb() public méthode

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

Vb() public méthode

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

Vb() public méthode

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

decode() public méthode

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. ///
Résultat int

encode() public méthode

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. ///
Résultat void