using System; using System.Collections.Generic; using System.Net; namespace ZeroLevel.Network { public interface IZObservableServer : IDisposable { IPEndPoint Endpoint { get; } IEnumerable ConnectionList { get; } event Action OnConnect; event Action OnDisconnect; event Action OnMessage; event Func OnRequest; } }