Table of Contents

Delegate IMqttClient.MqttMsgPublishEventHandler

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

Delegate that defines event handler for PUBLISH message received.

public delegate void IMqttClient.MqttMsgPublishEventHandler(object sender, MqttMsgPublishEventArgs e)

Parameters

sender object
Delegate that defines event handler for PUBLISH message received.
e MqttMsgPublishEventArgs
Delegate that defines event handler for PUBLISH message received.
Extension Methods

Constructors

MqttMsgPublishEventHandler(object, IntPtr)

public MqttMsgPublishEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, MqttMsgPublishEventArgs, AsyncCallback, object)

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

Parameters

sender object
e MqttMsgPublishEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, MqttMsgPublishEventArgs)

public virtual void Invoke(object sender, MqttMsgPublishEventArgs e)

Parameters

sender object
e MqttMsgPublishEventArgs