Exemplo n.º 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>();
        }
Exemplo n.º 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>();
        }