You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/Network/Contract/IZObservableServer.cs

18 lines
485 B

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

Powered by TurnKey Linux.