mirror of https://github.com/ogoun/Zero.git
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.
21 lines
470 B
21 lines
470 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
|
|
namespace ZeroLevel.Network
|
|
{
|
|
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;
|
|
}
|
|
} |