aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/Types
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-18 16:13:26 -0600
committerGitHub <noreply@github.com>2022-11-18 16:13:26 -0600
commit1ea40a325479d543714910a2848fcba0249f3724 (patch)
tree998092ec045804bce76d1753df460f817db134c3 /src/slskd/Relay/Types
parent43c3a052796fbd490677de931c2b6925efa0fa5e (diff)
parent8c67a655322fc787ef8677ebbded1596dab36b4d (diff)
downloadslskd-1ea40a325479d543714910a2848fcba0249f3724.tar.gz
Merge pull request #758 from slskd/disable-relay
Add an option to disable Relay functionality
Diffstat (limited to 'src/slskd/Relay/Types')
-rw-r--r--src/slskd/Relay/Types/RelayClientState.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/slskd/Relay/Types/RelayClientState.cs b/src/slskd/Relay/Types/RelayClientState.cs
new file mode 100644
index 00000000..def25411
--- /dev/null
+++ b/src/slskd/Relay/Types/RelayClientState.cs
@@ -0,0 +1,27 @@
+// <copyright file="RelayClientState.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.Relay
+{
+ public enum RelayClientState
+ {
+ Disconnected,
+ Connected,
+ Connecting,
+ Reconnecting,
+ }
+}