Table of Contents

Delegate IMqttClient.MqttMsgPublishedEventHandler

Namespace
nanoFramework.M2Mqtt
Assembly
nanoFramework.M2Mqtt.Core.dll

Delegate that defines event handler for published message.

public delegate void IMqttClient.MqttMsgPublishedEventHandler(object sender, MqttMsgPublishedEventArgs e)

Parameters

sender object
Delegate that defines event handler for published message.
e MqttMsgPublishedEventArgs
Delegate that defines event handler for published message.
Extension Methods

Constructors

MqttMsgPublishedEventHandler(object, IntPtr)

public MqttMsgPublishedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, MqttMsgPublishedEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, MqttMsgPublishedEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e MqttMsgPublishedEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, MqttMsgPublishedEventArgs)

public virtual void Invoke(object sender, MqttMsgPublishedEventArgs e)

Parameters

sender object
e MqttMsgPublishedEventArgs