Skip to content

Commit

Permalink
Merge pull request #211 from WildernessLabs/feature/connect-stop
Browse files Browse the repository at this point in the history
add Stop to cloud service interface
  • Loading branch information
adrianstevens authored Mar 25, 2024
2 parents c9b2ea2 + a0bae99 commit 0423f32
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions Source/Meadow.Contracts/Cloud/IMeadowCloudService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@ namespace Meadow.Cloud;
/// </summary>
public interface IMeadowCloudService
{
/*
/// <summary>
/// Event raised when an error occurs
/// </summary>
event EventHandler<string> ServiceError;
/// <summary>
/// The current JWT
/// </summary>
string? CurrentJwt { get; }
/// <summary>
/// Authenticates with the Meadow.Cloud service
/// </summary>
Task<bool> Authenticate();
*/

/// <summary>
/// Event raised when the cloud connection state changes
/// </summary>
Expand Down Expand Up @@ -92,4 +75,9 @@ Task<bool> SendLog(string logLevel, string message, string? exceptionMessage = n
Exception = exceptionMessage ?? string.Empty
});
}

/// <summary>
/// Stops the service
/// </summary>
public void Stop();
}

0 comments on commit 0423f32

Please sign in to comment.