private static IReactiveServiceProvider GetServiceProvider(IRemotingReactiveServiceConnection connection) { var commandTextFactory = new CommandTextFactory <Expression>(new ClientSerializationHelpers()); var localConnection = new LocalReactiveServiceConnection(connection); return(new ReactiveServiceProvider(localConnection, commandTextFactory, commandTextFactory)); }
protected ReactivePlatformClientBase(IReactivePlatform platform) { _platform = platform ?? throw new ArgumentNullException(nameof(platform)); _queryCoordinator = platform.QueryCoordinator.GetInstance <IRemotingReactiveServiceConnection>(); _messageRouter = GetMessageRouter(platform); _tableClient = GetTableClient(platform); }
public LocalReactiveServiceConnection(IRemotingReactiveServiceConnection connection) { _connection = connection; }
/// <summary> /// Initializes the remoting client context using a service connection interface. /// </summary> /// <param name="connection">The service connection.</param> public RemotingClientContext(IRemotingReactiveServiceConnection connection) : base(new TupletizingExpressionServices(typeof(IReactiveClientProxy)), GetServiceProvider(connection)) { }
public ReactivePlatformClient(IRemotingReactiveServiceConnection queryCoordinator, IReactiveMessagingConnection messaging) : base(queryCoordinator, messaging) { }
protected ReactivePlatformClientBase(IRemotingReactiveServiceConnection queryCoordinator, IReactiveMessagingConnection messaging) { _queryCoordinator = queryCoordinator; _messageRouter = GetMessageRouter(messaging); }