/// <summary> /// Initializes a new instance of the <see cref="HubConnectionContext"/>. /// </summary> /// <param name="pipelineInvoker">The pipeline invoker.</param> /// <param name="connection">The connection.</param> /// <param name="hubName">The hub name.</param> /// <param name="connectionId">The connection id.</param> /// <param name="tracker">The connection hub state.</param> public HubConnectionContext(IHubPipelineInvoker pipelineInvoker, IConnection connection, string hubName, string connectionId, StateChangeTracker tracker) : base(connection, pipelineInvoker, hubName) { _connectionId = connectionId; Caller = new StatefulSignalProxy(connection, pipelineInvoker, connectionId, PrefixHelper.HubConnectionIdPrefix, hubName, tracker); CallerState = new CallerStateProxy(tracker); All = AllExcept(); Others = AllExcept(connectionId); }