Exemple #1
0
        private void AddClientConnection(ClientConnectionContext connection, OpenConnectionMessage message)
        {
            var instanceId = GetInstanceId(message.Headers);

            _clientConnectionManager.AddClientConnection(connection);
            _connectionIds.TryAdd(connection.ConnectionId, instanceId);
        }
Exemple #2
0
 private void AddClientConnection(ServiceConnectionContext connection)
 {
     _clientConnectionManager.AddClientConnection(connection);
     _connectionIds.TryAdd(connection.ConnectionId, connection.ConnectionId);
 }
Exemple #3
0
 private void AddClientConnection(ServiceConnectionContext connection, string instanceId)
 {
     _clientConnectionManager.AddClientConnection(connection);
     _connectionIds.TryAdd(connection.ConnectionId, instanceId);
 }