Example #1
0
        public ServerProxy(string pipeName)
        {
            Pipe       = new PipeChannel(pipeName);
            JavaPkgSrv = new Process();

            WorkItems    = new Queue <Tuple <Protocol.Request, TaskCompletionSource <Protocol.Response>, JavaEditor> >();
            WorkerThread = new Thread(() => { this.Process(); });
            LIFORequests = new List <Protocol.Request.RequestType>();
        }
Example #2
0
        public ServerProxy(string pipeName)
        {
            Pipe = new PipeChannel(pipeName);
            JavaPkgSrv = new Process();

            WorkItems = new Queue<Tuple<Protocol.Request, TaskCompletionSource<Protocol.Response>, JavaEditor>>();
            WorkerThread = new Thread(() => { this.Process(); });
            LIFORequests = new List<Protocol.Request.RequestType>();
        }