示例#1
0
 /// <summary>
 /// Given the full path to the directory containing the compiler exes,
 /// retrieves the name of the pipe for client/server communication on
 /// that instance of the compiler.
 /// </summary>
 protected override string GetSessionKey(BuildPaths buildPaths)
 {
     return(BuildServerConnection.GetPipeNameForPathOpt(buildPaths.ClientDirectory));
 }
示例#2
0
 /// <summary>
 /// Create a new instance of the server process, returning true on success
 /// and false otherwise.
 /// </summary>
 protected virtual bool TryCreateServer(string clientDir, string pipeName)
 {
     return(BuildServerConnection.TryCreateServerCore(clientDir, pipeName));
 }