aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-11-06 16:45:46 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-11-06 16:45:46 -0600
commit40bd18b1421fb3fe6c63fc761d87fe395bb02089 (patch)
treee0cda2755decf047572134eeb300810e68a42c09 /src
parent8811bd5f08cbc83129ef1b692cad64b10cde36fb (diff)
downloadslskd-40bd18b1421fb3fe6c63fc761d87fe395bb02089.tar.gz
add NetworkClientState enum
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Network/NetworkClientState.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/slskd/Network/NetworkClientState.cs b/src/slskd/Network/NetworkClientState.cs
new file mode 100644
index 00000000..ba1c1369
--- /dev/null
+++ b/src/slskd/Network/NetworkClientState.cs
@@ -0,0 +1,27 @@
+// <copyright file="NetworkClientState.cs" company="slskd Team">
+// Copyright (c) slskd Team. All rights reserved.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see https://www.gnu.org/licenses/.
+// </copyright>
+
+namespace slskd.Network
+{
+ public enum NetworkClientState
+ {
+ Disconnected,
+ Connected,
+ Connecting,
+ Reconnecting,
+ }
+}