diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-24 14:39:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 14:39:40 -0500 |
| commit | 58bc401dab5d7eb3bc6cb07a22e0ee9c97ddf4bd (patch) | |
| tree | 64072f5eaa896335cc04de8ffe84fa79a50a2be7 /src/slskd/Application/Management/IManagementService.cs | |
| parent | fc7800409dfbe0cf26a72dd1de17cbae23d0cb35 (diff) | |
| parent | 78b3b953d9c36c2cc2939ad00881b0cbf388865a (diff) | |
| download | slskd-58bc401dab5d7eb3bc6cb07a22e0ee9c97ddf4bd.tar.gz | |
Merge pull request #125 from slskd/options
Refactor configuration components to allow for run-time updates
Diffstat (limited to 'src/slskd/Application/Management/IManagementService.cs')
| -rw-r--r-- | src/slskd/Application/Management/IManagementService.cs | 14 |
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 |
