You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Attempts to enqueue an application message to the session's send buffer.
65
71
/// </summary>
66
72
/// <param name="applicationMessage">The application message to enqueue.</param>
67
-
/// <param name="publishPacket">The corresponding MQTT publish packed, if the operation was successful.</param>
73
+
/// <param name="injectResult"><see cref="InjectMqttApplicationMessageResult"/> that includes the packet identifier of the enqueued message.</param>
68
74
/// <returns><c>true</c> if the message was successfully enqueued; otherwise, <c>false</c>.</returns>
69
75
/// <remarks>
70
76
/// When <see cref="MqttServerOptions.PendingMessagesOverflowStrategy"/> is set to <see cref="MqttPendingMessagesOverflowStrategy.DropOldestQueuedMessage"/>,
71
77
/// this method always returns <c>true</c>.
72
78
/// However, an existing message in the queue may be <b>dropped later</b> to make room for the newly enqueued message.
73
79
/// Such dropped messages can be tracked by subscribing to <see cref="MqttServer.QueuedApplicationMessageOverwrittenAsync"/> event.
0 commit comments