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
524 B

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

Powered by TurnKey Linux.