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