The SnmpV1TrapPacket type exposes the following members.

Constructors

  NameDescription
Public methodSnmpV1TrapPacket()()()()
Standard constructor.
Public methodSnmpV1TrapPacket(String)
Standard constructor.

Methods

  NameDescription
Public methoddecode
Decode received packet. This method overrides the base implementation that cannot be used with this type of the packet.
(Overrides SnmpPacket..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode()()()()
Encode SNMP packet for sending.
(Overrides SnmpPacket..::..encode()()()().)
Public methodencode(MutableByte)
Wrap BER encoded SNMP information contained in the parameter MutableByte class. Information in the parameter is prepended by the SNMP version field and wrapped in a sequence header. Derived classes call this method to finalize SNMP packet encoding.
(Inherited from SnmpPacket.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Protected field_pdu
SNMP Protocol Data Unit
Protected field_protocolVersion
SNMP protocol version
(Inherited from SnmpPacket.)
Protected field_snmpCommunity
SNMP community name

Properties

  NameDescription
Public propertyCommunity
Get SNMP community value used by SNMP version 1 and version 2 protocols.
Public propertyIsNotification
Packet is a notification
(Inherited from SnmpPacket.)
Public propertyIsReport
Packet is a report
(Inherited from SnmpPacket.)
Public propertyIsRequest
Packet is a request
(Inherited from SnmpPacket.)
Public propertyIsResponse
Packet is a response
(Inherited from SnmpPacket.)
Public propertyPdu
Access to the packet TrapPdu.
Public propertyTrapPdu
Get TrapPdu
Public propertyVersion
SNMP Protocol version
(Inherited from SnmpPacket.)

See Also