3 using System.Threading.Tasks;
16 public bool IsPrimary =>
false;
19 public bool TerminationWasRequested =>
false;
28 public ushort? Port => null;
31 public bool ClosePortOnReboot
34 set =>
throw new NotSupportedException();
41 public Task OnReboot {
get; }
44 public Task<int> Lifetime {
get; }
57 Dmb = dmbProvider ??
throw new ArgumentNullException(nameof(dmbProvider));
60 StartupTime = TimeSpan.FromSeconds(0)
62 Lifetime = Task.FromResult(-1);
63 OnReboot =
new TaskCompletionSource<object>().Task;
79 public void EnableCustomChatCommands() =>
throw new NotSupportedException();
85 public void ResetRebootState() =>
throw new NotSupportedException();
88 public Task<string> SendCommand(
string command, CancellationToken cancellationToken) =>
throw new NotSupportedException();
91 public void SetHighPriority() =>
throw new NotSupportedException();
94 public Task<bool> SetPort(ushort newPort, CancellationToken cancellatonToken) =>
throw new NotSupportedException();
97 public Task<bool> SetRebootState(RebootState newRebootState, CancellationToken cancellationToken) =>
throw new NotSupportedException();
Represents the result of trying to start a DD process
Use server authentication
Handles communication with a DreamDaemon IProcess
Implements a fake "dead" ISessionController
Provides absolute paths to the latest compiled .dmbs
DeadSessionController(IDmbProvider dmbProvider)
Construct a DeadSessionController
bool disposed
If the DeadSessionController was Disposed
RebootState
Represents the action to take when /world/Reboot() is called
ApiValidationStatus
Status of DMAPI validation