|
tgstation-server 6.19.0
The /tg/station 13 server suite
|
Implementation of IServerFactory. More...


Public Member Functions | |||||||
| async ValueTask< IServer?> | CreateServer (string[] args, string? updatePath, CancellationToken cancellationToken) | ||||||
Create a IServer.
| |||||||
Static Public Attributes | |
| const string | AppSettings = "appsettings" |
| Name of the appsettings file. | |
Properties | |
| IIOManager | IOManager [get] |
| The IIOManager for the IServerFactory. | |
Properties inherited from Tgstation.Server.Host.IServerFactory | |
Private Attributes | |
| readonly IAssemblyInformationProvider | assemblyInformationProvider |
| The IAssemblyInformationProvider for the ServerFactory. | |
| readonly IFileSystem | fileSystem |
| The IFileSystem for the ServerFactory. | |
Implementation of IServerFactory.
Definition at line 26 of file ServerFactory.cs.
| async ValueTask< IServer?> Tgstation.Server.Host.ServerFactory.CreateServer | ( | string[] | args, |
| string? | updatePath, | ||
| CancellationToken | cancellationToken | ||
| ) |
Create a IServer.
| args | The arguments for the IServer. |
| updatePath | The directory in which to install server updates. |
| cancellationToken | The CancellationToken for the operation. |
null otherwise.Implements Tgstation.Server.Host.IServerFactory.
Definition at line 65 of file ServerFactory.cs.
References Tgstation.Server.Host.ServerFactory.assemblyInformationProvider, Tgstation.Server.Host.ServerFactory.fileSystem, Tgstation.Server.Host.Setup.IPostSetupServices.GeneralConfiguration, Tgstation.Server.Host.IO.IIOManager.GetDirectoryName(), Tgstation.Server.Host.ServerFactory.IOManager, Tgstation.Server.Host.System.IAssemblyInformationProvider.Path, Tgstation.Server.Host.IO.IIOManager.ResolvePath(), and Tgstation.Server.Host.Configuration.GeneralConfiguration.RestartTimeoutMinutes.

|
static |
Name of the appsettings file.
Definition at line 31 of file ServerFactory.cs.
|
private |
The IAssemblyInformationProvider for the ServerFactory.
Definition at line 39 of file ServerFactory.cs.
Referenced by Tgstation.Server.Host.ServerFactory.CreateServer().
|
private |
The IFileSystem for the ServerFactory.
Definition at line 44 of file ServerFactory.cs.
Referenced by Tgstation.Server.Host.ServerFactory.CreateServer().
|
get |
The IIOManager for the IServerFactory.
Implements Tgstation.Server.Host.IServerFactory.
Definition at line 34 of file ServerFactory.cs.
Referenced by Tgstation.Server.Host.ServerFactory.CreateServer().