summaryrefslogtreecommitdiff
path: root/Impostor-dev/src/Impostor.Hazel/ConnectionState.cs
blob: 5dd7c6a0767bcfc28fd90de26a92cd4a53f80620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Impostor.Hazel
{
    /// <summary>
    ///     Represents the state a <see cref="Connection"/> is currently in.
    /// </summary>
    public enum ConnectionState
    {
        /// <summary>
        ///     The Connection has either not been established yet or has been disconnected.
        /// </summary>
        NotConnected,
        
        /// <summary>
        ///     The Connection is currently connecting to an endpoint.
        /// </summary>
        Connecting,

        /// <summary>
        ///     The Connection is connected and data can be transfered.
        /// </summary>
        Connected,
    }
}