Property | Type | Description | |
---|---|---|---|
_pdu | Pdu |
Property | Type | Description | |
---|---|---|---|
_snmpCommunity | OctetString |
Method | Description | |
---|---|---|
SnmpV1Packet ( ) : System |
Standard constructor.
|
|
SnmpV1Packet ( string snmpCommunity ) : System |
Standard constructor.
|
|
ToString ( ) : string |
String representation of the SNMP v1 Packet contents.
|
|
decode ( byte buffer, int length ) : int |
Decode received SNMP packet.
|
|
encode ( ) : byte[] |
Encode SNMP packet for sending.
|
Method | Description | |
---|---|---|
encode ( MutableByte buffer ) : void |
Replacement for the base class encode method.
|
public SnmpV1Packet ( string snmpCommunity ) : System | ||
snmpCommunity | string | SNMP community name for the packet |
return | System |
public decode ( byte buffer, int length ) : int | ||
buffer | byte | BER encoded packet buffer |
length | int | BER encoded packet buffer length |
return | int |