aboutsummaryrefslogtreecommitdiff
path: root/Tools/Hazel-Networking/Hazel/ConnectionState.cs
blob: 5d3f5c909ecc50c7e399800a2088fe7ee9f14b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 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,
    }
}