The TrapPdu type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TrapPdu | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clone object
(Overrides AsnType..::.Clone()()().) | |
| decode | Decode BER encoded SNMP version 1 trap packet (Overrides AsnType..::.decode(array<Byte>[]()[], Int32).) | |
| encode | ASN.1 encode SNMP version 1 trap (Overrides AsnType..::.encode(MutableByte).) | |
| Equals | (Inherited from Object.) | |
| FieldGetter | (Inherited from Object.) | |
| FieldSetter | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetFieldInfo | (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.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Set | Overloaded. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| _agentAddr | The IP Address of the remote agent sending the trap. | |
| _asnType |
ASN.1 type byte.
(Inherited from AsnType.) | |
| _enterprise | Trap enterprise Oid | |
| _generic | Generic trap code | |
| _specific | Specific trap code. | |
| _timeStamp | sysUpTime timestamp of the trap event |
Properties
| Name | Description | |
|---|---|---|
| AgentAddress | Get remote agent's IP address. | |
| Count | Returns the number oid/value pairs in the variable binding contained in the PDU | |
| Enterprise | Get trap enterprise identifier | |
| Generic | Get/Set generic code trap value object | |
| Specific | Get/Set specific code trap value object | |
| TimeStamp | Get timeticks trap value object | |
| Type |
Get PDU type.
| |
| VbCount |
Return number of entries in the VbList
| |
| VbList |
Get VbCollection variable binding list.
|