Click or drag to resize

TrapV2Pdu Class

TRAP v2 PDU.
Inheritance Hierarchy
SystemObject
  GSF.Net.SnmpTrapV2Pdu

Namespace: GSF.Net.Snmp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.205-beta
Syntax
public sealed class TrapV2Pdu : ISnmpPdu, 
	ISnmpData
View Source

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 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 MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodToBytes Converts to byte format.
(Defined by SnmpDataExtension)
Top
See Also