Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 internal void Add(Guid subscriberID, MatrixViewItem item)
 {
     _matrixViewItems.Add(subscriberID, item);
 }