コード例 #1
0
    // Contructor: empty
    public RemoteBuildServer()
    {
        config = RemoteBuildConfig.Load("./remote_build_server.json");

        ExpandCachePath();
        Console.WriteLine("Base Cache Path: {0}", config.base_cache);
    }
コード例 #2
0
 /// <summary>
 /// Create a new client object that's set up to talk over the provided
 /// socket connection.
 /// </summary>
 public BuildClient(Socket clientSocket, RemoteBuildConfig globalConfig)
 {
     socket    = clientSocket;
     config    = globalConfig;
     sendMutex = new Mutex();
 }