aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/Management/IManagementService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Application/Management/IManagementService.cs')
-rw-r--r--src/slskd/Application/Management/IManagementService.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/slskd/Application/Management/IManagementService.cs b/src/slskd/Application/Management/IManagementService.cs
index 4ee2185e..b3e13477 100644
--- a/src/slskd/Application/Management/IManagementService.cs
+++ b/src/slskd/Application/Management/IManagementService.cs
@@ -26,6 +26,12 @@ namespace slskd.Management
public interface IManagementService
{
/// <summary>
+ /// Connects the Soulseek client to the server using the configured username and password.
+ /// </summary>
+ /// <returns>The operation context.</returns>
+ Task ConnectServerAsync();
+
+ /// <summary>
/// Disconnects the Soulseek client from the server.
/// </summary>
/// <param name="message">An optional message containing the reason for the disconnect.</param>
@@ -33,15 +39,9 @@ namespace slskd.Management
void DisconnectServer(string message = null, Exception exception = null);
/// <summary>
- /// Connects the Soulseek client to the server using the configured username and password.
- /// </summary>
- /// <returns>The operation context.</returns>
- Task ConnectServerAsync();
-
- /// <summary>
/// Gets the current state of the connection to the Soulseek server.
/// </summary>
/// <returns>The current server state.</returns>
ServerState GetServerState();
}
-}
+} \ No newline at end of file