tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ISwarmServiceController.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
5{
10 {
16 Task<SwarmRegistrationResult> Initialize(CancellationToken cancellationToken);
17
23 Task Shutdown(CancellationToken cancellationToken);
24 }
25}
Start and stop controllers for a swarm service.
Task< SwarmRegistrationResult > Initialize(CancellationToken cancellationToken)
Attempt to register with the swarm controller if not one, sets up the database otherwise.
Task Shutdown(CancellationToken cancellationToken)
Deregister with the swarm controller or put clients into querying state.