Click or drag to resize

TrapV2Pdu Class

TRAP v2 PDU.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLibTrapV2Pdu

Namespace: Lextm.SharpSnmpLib
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public sealed class TrapV2Pdu : ISnmpPdu, 
	ISnmpData

The TrapV2Pdu type exposes the following members.

Constructors
 NameDescription
Public methodTrapV2Pdu(TupleInt32, Byte, Stream) Initializes a new instance of the TrapV2Pdu class.
Public methodTrapV2Pdu(Int32, ObjectIdentifier, UInt32, IListVariable) Creates a TrapV2Pdu instance with all content.
Top
Properties
 NameDescription
Public propertyEnterprise Enterprise.
Public propertyErrorIndex Gets the index of the error.
Public propertyErrorStatus Gets the error status.
Public propertyRequestId Gets the request ID.
Public propertyTimeStamp Time stamp.
Public propertyTypeCode Type code.
Public propertyVariables Variables.
Top
Methods
 NameDescription
Public methodAppendBytesTo Appends the bytes to Stream.
Public methodDecorate Decorates a list of Variable objects with time and enterprise ID.
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 methodToString Returns a String that represents this TrapV2Pdu.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodToBytes Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension)
Top
See Also