aboutsummaryrefslogtreecommitdiff
path: root/Tools/Hazel-Networking/Hazel/NetworkConnectionListener.cs
blob: af26c4c48ba2408e002fe1d02cb28fbbe7289f0c (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;


namespace Hazel
{
    /// <summary>
    ///     Abstract base class for a <see cref="ConnectionListener"/> for network based connections.
    /// </summary>
    /// <threadsafety static="true" instance="true"/>
    public abstract class NetworkConnectionListener : ConnectionListener
    {
        /// <summary>
        ///     The local end point the listener is listening for new clients on.
        /// </summary>
        public IPEndPoint EndPoint { get; protected set; }

        /// <summary>
        ///     The <see cref="IPMode">IPMode</see> the listener is listening for new clients on.
        /// </summary>
        public IPMode IPMode { get; protected set; }
    }
}