using System; using System.Net; namespace ZeroLevel.Network { public interface IExService : IDisposable { IPEndPoint Endpoint { get; } void RegisterInbox(string inbox, Action handler); void RegisterInbox(string inbox, Func handler); /// /// Replier without request /// void RegisterInbox(string inbox, Func handler); /* DEFAULT INBOXES */ void RegisterInbox(Action handler); void RegisterInbox(Func handler); void RegisterInbox(Func handler); } }