The SnmpV1Packet type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SnmpV1Packet()()()() |
Standard constructor.
| |
| SnmpV1Packet(String) |
Standard constructor.
|
Methods
| Name | Description | |
|---|---|---|
| decode |
Decode received SNMP 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 | (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.) | |
| 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.) | |
| ToString |
String representation of the SNMP v1 Packet contents.
(Overrides Object..::..ToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
| _pdu |
SNMP Protocol Data Unit
| |
| _protocolVersion |
SNMP protocol version
(Inherited from SnmpPacket.) | |
| _snmpCommunity |
SNMP community name
|
Properties
| Name | Description | |
|---|---|---|
| Community |
Get SNMP community value used by SNMP version 1 and version 2 protocols.
| |
| IsNotification |
Packet is a notification
(Inherited from SnmpPacket.) | |
| IsReport |
Packet is a report
(Inherited from SnmpPacket.) | |
| IsRequest |
Packet is a request
(Inherited from SnmpPacket.) | |
| IsResponse |
Packet is a response
(Inherited from SnmpPacket.) | |
| Pdu |
Access to the packet Pdu.
(Overrides SnmpPacket..::..Pdu.) | |
| Version |
SNMP Protocol version
(Inherited from SnmpPacket.) |