Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using System;
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using MQTTnet.Core.Packets;
-
- namespace MQTTnet.Core.Client
- {
- public interface IMqttClient : IApplicationMessageReceiver, IApplicationMessagePublisher
- {
- bool IsConnected { get; }
-
- event EventHandler<MqttClientConnectedEventArgs> Connected;
- event EventHandler<MqttClientDisconnectedEventArgs> Disconnected;
-
- Task<MqttClientConnectResult> ConnectAsync(IMqttClientOptions options);
- Task DisconnectAsync();
-
- Task<IList<MqttSubscribeResult>> SubscribeAsync(IEnumerable<TopicFilter> topicFilters);
- Task UnsubscribeAsync(IEnumerable<string> topicFilters);
- }
- }
|