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>(); }
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>(); }