tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Swarm
SwarmRegistrationRequest.cs
Go to the documentation of this file.
1
using
System;
2
using
System.ComponentModel.DataAnnotations;
3
4
using
Tgstation.Server.Api.Models.Internal
;
5
6
namespace
Tgstation.Server.Host.Swarm
7
{
11
public
sealed
class
SwarmRegistrationRequest
:
SwarmServer
12
{
16
[Required]
17
public
Version
ServerVersion
{
get
; }
18
23
public
SwarmRegistrationRequest
(Version serverVersion)
24
{
25
ServerVersion
= serverVersion ??
throw
new
ArgumentNullException(nameof(serverVersion));
26
}
27
}
28
}
Tgstation.Server.Api.Models.Internal.SwarmServer
Information about a server in the swarm.
Definition
SwarmServer.cs:10
Tgstation.Server.Host.Swarm.SwarmRegistrationRequest
A request to register with a swarm controller.
Definition
SwarmRegistrationRequest.cs:12
Tgstation.Server.Host.Swarm.SwarmRegistrationRequest.SwarmRegistrationRequest
SwarmRegistrationRequest(Version serverVersion)
Initializes a new instance of the SwarmRegistrationRequest class.
Definition
SwarmRegistrationRequest.cs:23
Tgstation.Server.Host.Swarm.SwarmRegistrationRequest.ServerVersion
Version ServerVersion
The swarm protocol Version of the sending server. Named this way due to legacy reasons.
Definition
SwarmRegistrationRequest.cs:17
Tgstation.Server.Api.Models.Internal
Definition
ChatBotApiBase.cs:6
Tgstation.Server.Host.Swarm
Definition
ISwarmOperations.cs:9
Generated by
1.9.8