Property | Type | Description | |
---|---|---|---|
_pdu | |||
_snmpCommunity | OctetString |
Method | Description | |
---|---|---|
SnmpV1TrapPacket ( ) : System |
Standard constructor.
|
|
SnmpV1TrapPacket ( string snmpCommunity ) : System |
Standard constructor.
|
|
decode ( byte buffer, int length ) : int |
Decode received packet. This method overrides the base implementation that cannot be used with this type of the packet.
|
|
encode ( ) : byte[] |
Encode SNMP packet for sending.
|
public SnmpV1TrapPacket ( string snmpCommunity ) : System | ||
snmpCommunity | string | SNMP community name for the packet |
return | System |
public decode ( byte buffer, int length ) : int | ||
buffer | byte | Packet buffer |
length | int | Buffer length |
return | int |