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
Methods
BeginInvoke(object, MqttMsgPublishEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, MqttMsgPublishEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
MqttMsgPublishEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, MqttMsgPublishEventArgs)
public virtual void Invoke(object sender, MqttMsgPublishEventArgs e)
Parameters
sender
objecte
MqttMsgPublishEventArgs