tgstation-server 5.12.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
SwarmConfiguration.cs
Go to the documentation of this file.
1using System;
2
4using YamlDotNet.Serialization;
5
7{
11 public sealed class SwarmConfiguration : SwarmServer
12 {
16 public const string Section = "Swarm";
17
19 [YamlMember(SerializeAs = typeof(string))]
20 public override Uri Address
21 {
22 get => base.Address;
23 set => base.Address = value;
24 }
25
29 [YamlMember(SerializeAs = typeof(string))]
30 public Uri ControllerAddress { get; set; }
31
35 public string PrivateKey { get; set; }
36
40 public uint UpdateRequiredNodeCount { get; set; }
41 }
42}
Information about a server in the swarm.
Definition: SwarmServer.cs:10
Configuration for the server swarm system.
Uri ControllerAddress
The SwarmServer.Address of the swarm controller. If null, the current server is considered the contro...
string PrivateKey
The private key used for swarm communication.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the SwarmConfiguration resid...
uint UpdateRequiredNodeCount
The number of nodes in addition to the controller required to be connected a server swarm before perf...