tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IDreamDaemonClient.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
6
8{
12 public interface IDreamDaemonClient
13 {
19 ValueTask<DreamDaemonResponse> Read(CancellationToken cancellationToken = default);
20
26 ValueTask<JobResponse> Start(CancellationToken cancellationToken);
27
33 ValueTask<JobResponse> Restart(CancellationToken cancellationToken);
34
40 ValueTask Shutdown(CancellationToken cancellationToken);
41
48 ValueTask<DreamDaemonResponse> Update(DreamDaemonRequest dreamDaemon, CancellationToken cancellationToken);
49
55 ValueTask<JobResponse> CreateDump(CancellationToken cancellationToken);
56 }
57}
ValueTask< DreamDaemonResponse > Read(CancellationToken cancellationToken=default)
Get the DreamDaemonResponse represented by the IDreamDaemonClient.
ValueTask< JobResponse > Restart(CancellationToken cancellationToken)
Restart DreamDaemonResponse.
ValueTask< JobResponse > Start(CancellationToken cancellationToken)
Start DreamDaemonResponse.
ValueTask Shutdown(CancellationToken cancellationToken)
Shutdown DreamDaemonResponse.
ValueTask< DreamDaemonResponse > Update(DreamDaemonRequest dreamDaemon, CancellationToken cancellationToken)
Update DreamDaemonResponse. This may trigger a Api.Models.Internal.DreamDaemonApiBase....
ValueTask< JobResponse > CreateDump(CancellationToken cancellationToken)
Start a job to create a process dump of the active DreamDaemon executable.