You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Shadowsocks.Interop.V2Ray.Inbound
- {
- public class AllocateObject
- {
- /// <summary>
- /// Gets or sets the port allocation strategy.
- /// Defaults to "always".
- /// Available values: "always" | "random"
- /// </summary>
- public string Strategy { get; set; }
-
- /// <summary>
- /// Gets or sets the random port refreshing interval in minutes.
- /// Defaults to 5 minutes.
- /// </summary>
- public int Refresh { get; set; }
-
- /// <summary>
- /// Gets or sets the number of random ports.
- /// Defaults to 3.
- /// </summary>
- public int Concurrency { get; set; }
-
- public AllocateObject()
- {
- Strategy = "always";
- Refresh = 5;
- Concurrency = 3;
- }
- }
- }
|