Click or drag to resize

NumberGenerator Class

A counter that generates ID.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLib.MessagingNumberGenerator

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public sealed class NumberGenerator

The NumberGenerator type exposes the following members.

Constructors
 NameDescription
Public methodNumberGenerator Initializes a new instance of the NumberGenerator class.
Top
Properties
 NameDescription
Public propertyNextId Returns next ID. This method is thread-safe within this instance of NumberGenerator.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The request ID is used to identifier sessions.
See Also