public ConnectionThread(RdlDesktop rs, TcpListener l, string sr, string wd)
 {
     _server     = rs;
     serverRoot  = sr;
     _WorkingDir = wd;
     myListener  = l;
 }
		public ConnectionThread(RdlDesktop rs, TcpListener l, string sr, string wd)
		{
			_server = rs;
			serverRoot = sr;
			_WorkingDir = wd;
			myListener = l;
		}
Esempio n. 3
0
 public BackgroundThread(RdlDesktop rws, int checkSeconds, int fileSeconds, int readSeconds)
 {
     rserver          = rws;
     cacheCheck       = checkSeconds;
     fileCacheTimeout = fileSeconds;
     readCacheTimeout = readSeconds;
 }
 public BackgroundThread(RdlDesktop rws, int checkSeconds, int fileSeconds, int readSeconds)
 {
     rserver = rws;
     cacheCheck = checkSeconds;
     fileCacheTimeout = fileSeconds;
     readCacheTimeout = readSeconds;
 }
Esempio n. 5
0
        // Application Starts Here..
        public static void Main(string[] args)
        {
            RdlDesktop server = new RdlDesktop();

            server.HandleArguments(args);

            // start up the background thread to handle additional work
            BackgroundThread bk      = new BackgroundThread(server, 60 * 5, 60 * 5, 60 * 5);
            Thread           bThread = new Thread(new ThreadStart(bk.HandleBackground));

            bThread.Name = "background";
            bThread.Start();

            // start up the console thread so user can see what's going on
            ConsoleThread ct      = new ConsoleThread(server, bk);
            Thread        cThread = new Thread(new ThreadStart(ct.HandleConsole));

            cThread.Name = "console";
            cThread.Start();

            // Run the server
            server.RunServer();
            server.Cache.ClearAll();                                    // clean up the report file cache when done
        }
Esempio n. 6
0
        // Application Starts Here..
        public static void Main(string[] args)
        {
            RdlDesktop server = new RdlDesktop();
            server.HandleArguments(args);

            // start up the background thread to handle additional work
            BackgroundThread bk = new BackgroundThread(server, 60 * 5, 60 * 5, 60 * 5);
            Thread bThread = new Thread(new ThreadStart(bk.HandleBackground));
            bThread.Name = "background";
            bThread.Start();

            // start up the console thread so user can see what's going on
            ConsoleThread ct = new ConsoleThread(server, bk);
            Thread cThread = new Thread(new ThreadStart(ct.HandleConsole));
            cThread.Name = "console";
            cThread.Start();

            // Run the server
            server.RunServer();
            server.Cache.ClearAll();			// clean up the report file cache when done
        }
Esempio n. 7
0
        BackgroundThread bthread;                                       // background thread

        public ConsoleThread(RdlDesktop rws, BackgroundThread bk)
        {
            rserver = rws;
            bthread = bk;
        }
Esempio n. 8
0
        RdlDesktop rserver; // server we're watching

        #endregion Fields

        #region Constructors

        public ConsoleThread(RdlDesktop rws, BackgroundThread bk)
        {
            rserver = rws;
            bthread = bk;
        }