Table of Contents

Class MqttMsgContext

Namespace
nanoFramework.M2Mqtt.Messages
Assembly
nanoFramework.M2Mqtt.dll

Context for MQTT message

public class MqttMsgContext
Inheritance
MqttMsgContext
Inherited Members
Extension Methods

Constructors

MqttMsgContext()

public MqttMsgContext()

Properties

Attempt

Attempt (for retry)

public int Attempt { get; set; }

Property Value

int

Flow

Flow of the message

public MqttMsgFlow Flow { get; set; }

Property Value

MqttMsgFlow

Key

Unique key

public string Key { get; }

Property Value

string

Message

MQTT message

public MqttMsgBase Message { get; set; }

Property Value

MqttMsgBase

State

MQTT message state

public MqttMsgState State { get; set; }

Property Value

MqttMsgState

Timestamp

Timestamp in ticks (for retry)

public int Timestamp { get; set; }

Property Value

int