示例#1
0
        private RSession CreateRSession(string sessionId)
        {
            var session = new RSession(Interlocked.Increment(ref _sessionCounter), sessionId, Broker, _connectArwl.CreateExclusiveReaderLock(), () => DisposeSession(sessionId));

            session.Connected += RSessionOnConnected;
            return(session);
        }