Message class

An SNMP v1 or v2c Message which contains the credential information necessary to package a Pdu to be sent to a target device

Constructors

Message(SnmpVersion version, String community, Pdu pdu)
An SNMP v1 or v2c Message which contains the credential information necessary to package a Pdu to be sent to a target device

Properties

asAsn1Sequence → ASN1Sequence
Converts the Message to an ASN1Sequence object
no setter
community String
An arbitrary user-defined string used to provide separation between multiple snmp configurations/deployments
getter/setter pair
encodedBytes Uint8List
Converts the Message to a (transmittable) list of bytes
no setter
hashCode int
The hash code for this object.
no setterinherited
pdu Pdu
A Protocol Data Unit which contains a list of Varbinds
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version SnmpVersion
The SNMP protocol version used to encode/decode this message
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBytes(Uint8List bytes) Message
Parses a list of bytes into a Message object