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/Contracts/IDiscoveryClient.cs

19 lines
539 B

using System;
using System.Collections.Generic;
namespace ZeroLevel.Network
{
public interface IDiscoveryClient
: IDisposable
{
bool Register(ZeroServiceInfo info);
IEnumerable<ServiceEndpointInfo> GetServiceEndpoints(string serviceKey);
IEnumerable<ServiceEndpointInfo> GetServiceEndpointsByGroup(string serviceGroup);
IEnumerable<ServiceEndpointInfo> GetServiceEndpointsByType(string serviceType);
ServiceEndpointInfo GetService(string serviceKey, string endpoint);
}
}

Powered by TurnKey Linux.