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

28 lines
703 B

5 years ago
using System;
using System.Net;
namespace ZeroLevel.Network
{
public interface IExchange
: IClientSet, IDisposable
{
5 years ago
bool UseDiscovery();
bool UseDiscovery(string endpoint);
bool UseDiscovery(IPEndPoint endpoint);
5 years ago
IRouter UseHost();
IRouter UseHost(int port);
5 years ago
IRouter UseHostV6();
IRouter UseHostV6(int port);
5 years ago
IRouter UseHost(IPEndPoint endpoint);
IServiceRoutesStorage RoutesStorage { get; }
5 years ago
IServiceRoutesStorage DiscoveryStorage { get; }
5 years ago
IClient GetConnection(ISocketClient client);
5 years ago
IClient GetConnection(string alias);
IClient GetConnection(IPEndPoint endpoint);
5 years ago
}
}

Powered by TurnKey Linux.