コード例 #1
0
ファイル: Utils.cs プロジェクト: hultqvist/SharpKit-SDK
 /// <summary>
 /// setupMaster is used to change the default 'fork' behavior. The new settings are effective immediately and permanently, they cannot be changed later on.
 /// </summary>
 /// <param name="settings"></param>
 /// <returns></returns>
 /// <example>
 /// Example:
 /// <code>
 /// var cluster = require("cluster");
 /// cluster.setupMaster({
 ///   exec : "worker.js",
 ///   args : ["--use", "https"],
 ///   silent : true
 /// });
 /// cluster.fork();
 /// </code>
 /// </example>
 public Worker setupMaster(SettingOptions settings) { return null; }
コード例 #2
0
ファイル: Utils.cs プロジェクト: mustang2247/SharpKit-SDK
 /// <summary>
 /// setupMaster is used to change the default 'fork' behavior. The new settings are effective immediately and permanently, they cannot be changed later on.
 /// </summary>
 /// <param name="settings"></param>
 /// <returns></returns>
 /// <example>
 /// Example:
 /// <code>
 /// var cluster = require("cluster");
 /// cluster.setupMaster({
 ///   exec : "worker.js",
 ///   args : ["--use", "https"],
 ///   silent : true
 /// });
 /// cluster.fork();
 /// </code>
 /// </example>
 public Worker setupMaster(SettingOptions settings)
 {
     return(null);
 }