internal MatrixService(Guid subscriberID, MatrixViewItem matrixViewItem, int port, string password) { _port = port; _password = password; _matrixViewItems.Add(subscriberID, matrixViewItem); Thread thread = new Thread(new ThreadStart(run)); thread.CurrentCulture = Thread.CurrentThread.CurrentCulture; thread.CurrentUICulture = Thread.CurrentThread.CurrentUICulture; thread.Name = "MatrixListenManager:" + _port; thread.IsBackground = true; thread.Start(); }
internal void Add(Guid subscriberID, MatrixViewItem item) { _matrixViewItems.Add(subscriberID, item); }