MqttSubscribeMessage class
Implementation of an MQTT Subscribe Message.
- Inheritance
- 
    - Object
- MqttMessage
- MqttSubscribeMessage
 
Constructors
- MqttSubscribeMessage()
- Initializes a new instance of the MqttSubscribeMessage class.
- MqttSubscribeMessage.fromByteBuffer(MqttHeader header, MqttByteBuffer messageStream)
- Initializes a new instance of the MqttSubscribeMessage class.
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- header ↔ MqttHeader?
- 
  The header of the MQTT Message. Contains metadata about the message
  getter/setter pairinherited
- payload ↔ MqttSubscribePayload
- 
  Gets or sets the payload of the Mqtt Message.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- variableHeader ↔ MqttSubscribeVariableHeader?
- 
  Gets or sets the variable header contents. Contains extended
metadata about the message.
  getter/setter pair
Methods
- 
  atQos(MqttQos? qos) → MqttSubscribeMessage 
- Sets the Qos level of the last topic added to the subscription list via a call to ToTopic(string).
- 
  expectAcknowledgement() → MqttSubscribeMessage 
- Sets the message up to request acknowledgement from the broker for each topic subscription.
- 
  isDuplicate() → MqttSubscribeMessage 
- Sets the duplicate flag for the message to indicate its a duplicate of a previous message type with the same message identifier.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  readFrom(MqttByteBuffer messageStream) → void 
- 
  Reads a message from the supplied stream.
  override
- 
  toString() → String 
- 
  A string representation of this object.
  override
- 
  toTopic(String topic) → MqttSubscribeMessage 
- Adds a new subscription topic with the AtMostOnce Qos Level. If you want to change the Qos level follow this call with a call to AtTopic(MqttQos).
- 
  withMessageIdentifier(int? messageIdentifier) → MqttSubscribeMessage 
- Sets the message identifier on the subscribe message.
- 
  writeTo(MqttByteBuffer messageStream) → void 
- 
  Writes the message to the supplied stream.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited