diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-08 07:46:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-08 07:46:30 -0600 |
| commit | 7850ce245d51c80b0b05f59523d866dae2303669 (patch) | |
| tree | 7658ca859d3563c1b4f773d7bd1d707662fcd015 /src/slskd/Network/NetworkClientState.cs | |
| parent | f03520a84f7ce90339f0339bb4bd7e7d0d34a856 (diff) | |
| parent | 74dbb69973035a93e2eda532bd6afe7e2f89d741 (diff) | |
| download | slskd-7850ce245d51c80b0b05f59523d866dae2303669.tar.gz | |
Merge pull request #739 from slskd/network-state
Add network state to application state
Diffstat (limited to 'src/slskd/Network/NetworkClientState.cs')
| -rw-r--r-- | src/slskd/Network/NetworkClientState.cs | 27 |
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, + } +} |
