tgstation-server  4.4.0
The /tg/station 13 server suite
ISessionController.cs
Go to the documentation of this file.
1 using System;
2 using System.Threading;
3 using System.Threading.Tasks;
7 
8 namespace Tgstation.Server.Host.Components.Session
9 {
14  {
18  Task<LaunchResult> LaunchResult { get; }
19 
23  bool TerminationWasRequested { get; }
24 
29 
33  Version DMApiVersion { get; }
34 
38  IDmbProvider Dmb { get; }
39 
43  ushort? Port { get; }
44 
48  bool ClosePortOnReboot { get; set; }
49 
54 
58  Task OnReboot { get; }
59 
63  Task OnPrime { get; }
64 
68  bool DMApiAvailable { get; }
69 
74  ReattachInformation Release();
75 
82  Task<CombinedTopicResponse> SendCommand(TopicParameters parameters, CancellationToken cancellationToken);
83 
90  Task<bool> SetPort(ushort newPort, CancellationToken cancellatonToken);
91 
98  Task<bool> SetRebootState(RebootState newRebootState, CancellationToken cancellationToken);
99 
103  void ResetRebootState();
104 
108  void EnableCustomChatCommands();
109 
114  void ReplaceDmbProvider(IDmbProvider newProvider);
115  }
116 }
ApiValidationStatus
Status of DMAPI validation
Parameters necessary for duplicating a ISessionController session
Represents the result of trying to start a DD process
Definition: LaunchResult.cs:9
RebootState
Represents the action to take when /world/Reboot() is called
Definition: RebootState.cs:6
Handler for an instance being renamed.
Handles communication with a DreamDaemon IProcess
Provides absolute paths to the latest compiled .dmbs
Definition: IDmbProvider.cs:9
Represents process lifetime
Definition: IProcessBase.cs:10