From 8d2a2cd5de40e2b94ef5007c32832ed9a063dc40 Mon Sep 17 00:00:00 2001
From: chai <215380520@qq.com>
Date: Thu, 12 Oct 2023 22:09:49 +0800
Subject: +hazel-networking
---
Tools/Hazel-Networking/Hazel/ConnectionState.cs | 28 +++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Tools/Hazel-Networking/Hazel/ConnectionState.cs
(limited to 'Tools/Hazel-Networking/Hazel/ConnectionState.cs')
diff --git a/Tools/Hazel-Networking/Hazel/ConnectionState.cs b/Tools/Hazel-Networking/Hazel/ConnectionState.cs
new file mode 100644
index 0000000..5d3f5c9
--- /dev/null
+++ b/Tools/Hazel-Networking/Hazel/ConnectionState.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Hazel
+{
+ ///
+ /// Represents the state a is currently in.
+ ///
+ public enum ConnectionState
+ {
+ ///
+ /// The Connection has either not been established yet or has been disconnected.
+ ///
+ NotConnected,
+
+ ///
+ /// The Connection is currently connecting to an endpoint.
+ ///
+ Connecting,
+
+ ///
+ /// The Connection is connected and data can be transfered.
+ ///
+ Connected,
+ }
+}
--
cgit v1.1-26-g67d0