Table of Contents

Class GetBulkRequestMessage

Namespace
Lextm.SharpSnmpLib.Messaging
Assembly
SharpSnmpLib.dll

GETBULK request message.

public sealed class GetBulkRequestMessage : ISnmpMessage
Inheritance
GetBulkRequestMessage
Implements
Inherited Members
Extension Methods

Constructors

GetBulkRequestMessage(VersionCode, int, int, OctetString, OctetString, int, int, IList<Variable>, IPrivacyProvider, int, ISnmpMessage)

Creates a GetBulkRequestMessage with a specific Sequence.

public GetBulkRequestMessage(VersionCode version, int messageId, int requestId, OctetString userName, OctetString contextName, int nonRepeaters, int maxRepetitions, IList<Variable> variables, IPrivacyProvider privacy, int maxMessageSize, ISnmpMessage report)

Parameters

version VersionCode

The version.

messageId int

The message id.

requestId int

The request id.

userName OctetString

Name of the user.

contextName OctetString

Context name.

nonRepeaters int

The non repeaters.

maxRepetitions int

The max repetitions.

variables IList<Variable>

The variables.

privacy IPrivacyProvider

The privacy provider.

maxMessageSize int

Size of the max message.

report ISnmpMessage

The report.

GetBulkRequestMessage(VersionCode, int, int, OctetString, int, int, IList<Variable>, IPrivacyProvider, ISnmpMessage)

Creates a GetBulkRequestMessage with a specific Sequence.

[Obsolete("Please use other overloading ones.")]
public GetBulkRequestMessage(VersionCode version, int messageId, int requestId, OctetString userName, int nonRepeaters, int maxRepetitions, IList<Variable> variables, IPrivacyProvider privacy, ISnmpMessage report)

Parameters

version VersionCode

The version.

messageId int

The message id.

requestId int

The request id.

userName OctetString

Name of the user.

nonRepeaters int

The non repeaters.

maxRepetitions int

The max repetitions.

variables IList<Variable>

The variables.

privacy IPrivacyProvider

The privacy provider.

report ISnmpMessage

The report.

GetBulkRequestMessage(VersionCode, int, int, OctetString, int, int, IList<Variable>, IPrivacyProvider, int, ISnmpMessage)

Creates a GetBulkRequestMessage with a specific Sequence.

[Obsolete("Please use other overloading ones.")]
public GetBulkRequestMessage(VersionCode version, int messageId, int requestId, OctetString userName, int nonRepeaters, int maxRepetitions, IList<Variable> variables, IPrivacyProvider privacy, int maxMessageSize, ISnmpMessage report)

Parameters

version VersionCode

The version.

messageId int

The message id.

requestId int

The request id.

userName OctetString

Name of the user.

nonRepeaters int

The non repeaters.

maxRepetitions int

The max repetitions.

variables IList<Variable>

The variables.

privacy IPrivacyProvider

The privacy provider.

maxMessageSize int

Size of the max message.

report ISnmpMessage

The report.

GetBulkRequestMessage(int, VersionCode, OctetString, int, int, IList<Variable>)

Creates a GetBulkRequestMessage with all contents.

public GetBulkRequestMessage(int requestId, VersionCode version, OctetString community, int nonRepeaters, int maxRepetitions, IList<Variable> variables)

Parameters

requestId int

The request ID.

version VersionCode

Protocol version.

community OctetString

Community name.

nonRepeaters int

Non-repeaters.

maxRepetitions int

Max repetitions.

variables IList<Variable>

Variables.

Properties

Header

Gets the header.

public Header Header { get; }

Property Value

Header

Parameters

Gets the parameters.

public SecurityParameters Parameters { get; }

Property Value

SecurityParameters

The parameters.

Privacy

Gets the privacy provider.

public IPrivacyProvider Privacy { get; }

Property Value

IPrivacyProvider

The privacy provider.

Scope

Gets the scope.

public Scope Scope { get; }

Property Value

Scope

The scope.

Version

Gets the version.

public VersionCode Version { get; }

Property Value

VersionCode

The version.

Methods

ToBytes()

Converts to byte format.

public byte[] ToBytes()

Returns

byte[]

ToString()

Returns a string that represents this GetBulkRequestMessage.

public override string ToString()

Returns

string