public ServerProcessProxy( IServerProcessLauncher serverProcessLauncher, IProtoBufSerializer serializer, IReceiveResponsesThread receiveResponsesThread, IRequestQueue requestQueue, ISendRequestsThread sendRequestsThread) { _serializer = serializer; _receiveResponsesThread = receiveResponsesThread; _requestQueue = requestQueue; _sendRequestsThread = sendRequestsThread; _serverProcessLauncher = serverProcessLauncher; }
public ServerProcessProxy( IServerProcessLauncher serverProcessLauncher, IProtoBufSerializer serializer, IReceiveResponsesThread receiveResponsesThread, IRequestQueue requestQueue, ISendRequestsThread sendRequestsThread) { _serializer = serializer; _receiveResponsesThread = receiveResponsesThread; _requestQueue = requestQueue; _sendRequestsThread = sendRequestsThread; _serverProcessLauncher = serverProcessLauncher; _createProcessTask = new Lazy <Task>(CreateProcessLazyWorker, LazyThreadSafetyMode.ExecutionAndPublication); }