IConnection.cs 336 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MECF.Framework.Common.Communications
  7. {
  8. public interface IConnection
  9. {
  10. string Address { get; }
  11. bool IsConnected { get; }
  12. bool Connect();
  13. bool Disconnect();
  14. }
  15. }