Table of Contents

Delegate IMqttClient.MqttMsgSubscribedEventHandler

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

Delegate that defines event handler for subscribed topic.

public delegate void IMqttClient.MqttMsgSubscribedEventHandler(object sender, MqttMsgSubscribedEventArgs e)

Parameters

sender object
Delegate that defines event handler for subscribed topic.
e MqttMsgSubscribedEventArgs
Delegate that defines event handler for subscribed topic.
Extension Methods

Constructors

MqttMsgSubscribedEventHandler(object, IntPtr)

public MqttMsgSubscribedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, MqttMsgSubscribedEventArgs, AsyncCallback, object)

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

Parameters

sender object
e MqttMsgSubscribedEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, MqttMsgSubscribedEventArgs)

public virtual void Invoke(object sender, MqttMsgSubscribedEventArgs e)

Parameters

sender object
e MqttMsgSubscribedEventArgs