The SnmpV1TrapPacket type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| decode(array<Byte>[]()[], Int32) |
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).) | |
| encode()()() |
Encode SNMP packet for sending.
(Overrides SnmpPacket..::.encode()()().) | |
| encode(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.) | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) |