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/IExService.cs

20 lines
533 B

using System;
using System.Net;
namespace ZeroLevel.Services.Network
{
public interface IExService
: IDisposable
{
IPEndPoint Endpoint { get; }
void RegisterInbox<T>(string inbox, Action<T, long, IZBackward> handler);
void RegisterInbox<Treq, Tresp>(string inbox, Func<Treq, long, IZBackward, Tresp> handler);
/// <summary>
/// Replier without request
/// </summary>
void RegisterInbox<Tresp>(string inbox, Func<long, IZBackward, Tresp> handler);
}
}

Powered by TurnKey Linux.