tgstation-server 6.12.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. | |
Implementation of IServerFactory.
Definition at line 25 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 54 of file ServerFactory.cs.
References Tgstation.Server.Host.ServerFactory.assemblyInformationProvider, 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 30 of file ServerFactory.cs.
|
private |
The IAssemblyInformationProvider for the ServerFactory.
Definition at line 35 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 38 of file ServerFactory.cs.
Referenced by Tgstation.Server.Host.ServerFactory.CreateServer().