- encode([kwargs])
The encode method converts the entire SNMP message
into BER octet-stream (string) in accordance with
RFC 1905 specification.
The kwargs keyword arguments may be used for last-minute
assignments to corresponding message components (see
v2c module documentation for valid values.
- decode(data)
The decode method attempts to convert the
data octet-stream (string) into SNMP message.
The type and protocol version of the SNMP message carried in the
data octet-stream must match instance's class type.
Any unprocessed part of data octet-stream is returned.
- reply([kwargs])
The reply method creates and returns an instance of
GETRESPONSE class and initializes it with its
own values applicible for reply.
The kwargs keyword arguments may be used for
overriding values of corresponding message components.