tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Core
IServerUpdater.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Threading;
3
using
System.Threading.Tasks;
4
5
using
Tgstation.Server.Host.IO
;
6
using
Tgstation.Server.Host.Swarm
;
7
8
namespace
Tgstation.Server.Host.Core
9
{
13
interface
IServerUpdater
14
{
23
ValueTask<ServerUpdateResult>
BeginUpdate
(
ISwarmService
swarmService,
IFileStreamProvider
? fileStreamProvider, Version version, CancellationToken cancellationToken);
24
}
25
}
Tgstation.Server.Host.Core.IServerUpdater
Updates the server.
Definition
IServerUpdater.cs:14
Tgstation.Server.Host.Core.IServerUpdater.BeginUpdate
ValueTask< ServerUpdateResult > BeginUpdate(ISwarmService swarmService, IFileStreamProvider? fileStreamProvider, Version version, CancellationToken cancellationToken)
Start the process of downloading and applying an update to a new server version .
Tgstation.Server.Host.IO.IFileStreamProvider
Interface for asynchronously consuming Streams of files.
Definition
IFileStreamProvider.cs:12
Tgstation.Server.Host.Swarm.ISwarmService
Used for swarm operations. Functions may be no-op based on configuration.
Definition
ISwarmService.cs:15
Tgstation.Server.Host.Core
Definition
Application.cs:77
Tgstation.Server.Host.IO
Definition
BufferedFileStreamProvider.cs:9
Tgstation.Server.Host.Swarm
Definition
ISwarmOperations.cs:9
Generated by
1.9.8