using System; using System.Net; using ZeroLevel.Models; namespace ZeroLevel.Services.Network { public interface IExClient { event Action Connected; IPEndPoint Endpoint { get; } InvokeResult Send(T obj); InvokeResult Send(string inbox, T obj); InvokeResult Request(Treq obj, Action callback); InvokeResult Request(string inbox, Treq obj, Action callback); InvokeResult Request( Action callback); InvokeResult Request(string inbox, Action callback); } }