NullWeAppMsgClientManager.cs 762 B

12345678910111213141516171819202122232425262728
  1. using System.Threading.Tasks;
  2. using WeEngine;
  3. using WeEngine.Enum;
  4. namespace WeApp.CommonManager.MqttClient
  5. {
  6. public sealed class NullWeAppMsgClientManager : IWeAppMsgClientManager
  7. {
  8. public static NullWeAppMsgClientManager Instance { get; } = new NullWeAppMsgClientManager();
  9. public string ClientId { get; set; }
  10. public Task SendMessage(WeMsg msg)
  11. {
  12. throw new System.NotImplementedException();
  13. }
  14. public Task SendMessage(WeMsg msg, MessageType type)
  15. {
  16. throw new System.NotImplementedException();
  17. }
  18. public Task SendMessage(WeMsg msg, MessageType type, string clientId)
  19. {
  20. throw new System.NotImplementedException();
  21. }
  22. }
  23. }