Свойство | Type | Description | |
---|---|---|---|
m_BaseHTTPServer | IHttpServer | ||
m_Port | uint | ||
m_Servers | IHttpServer>.Dictionary | ||
m_StartupTime | System.DateTime | ||
m_TimerScriptFileName | string | ||
m_TimerScriptTime | int | ||
m_TimerScriptTimer | |||
m_applicationRegistry | IRegistryCore | ||
m_commandLineParameters | string[] | ||
m_config | IConfigSource | ||
m_configurationLoader | WhiteCore.Framework.Configuration.ConfigurationLoader | ||
m_consolePrompt | string | ||
m_dataPlugins | List |
||
m_defaultDataPath | string | ||
m_eventManager | WhiteCore.Framework.Services.ClassHelpers.Other.WhiteCoreEventManager | ||
m_mapcenter_x | int | ||
m_mapcenter_y | int | ||
m_original_config | IConfigSource | ||
m_pidFile | string | ||
m_servicePlugins | List |
||
m_shutdownCommandsFile | string | ||
m_startupCommandsFile | string | ||
m_version | string |
Méthode | Description | |
---|---|---|
CloseModules ( ) : void |
Close all the Application Plugins
|
|
Configuration ( IConfigSource configSource ) : void |
Read the configuration
|
|
Copy ( ) : ISimulationBase | ||
GetHttpServer ( uint port ) : IHttpServer |
Get an HTTPServer on the given port. It will create one if one does not exist
|
|
HandleConfigRefresh ( IScene scene, string cmd ) : void | ||
HandleForceGC ( IScene scene, string cmd ) : void | ||
HandleShowInfo ( IScene scene, string cmd ) : void | ||
HandleShowVersion ( IScene scene, string cmd ) : void | ||
HandleTimerScriptTime ( IScene scene, string cmd ) : void | ||
Initialize ( IConfigSource originalConfig, IConfigSource configSource, string cmdParams, WhiteCore.Framework.Configuration.ConfigurationLoader configLoader ) : void |
Do the initial setup for the application
|
|
InitializeModules ( ) : void | ||
MinimalSimulationBase ( string consolePrompt, List |
||
RegisterConsoleCommands ( ) : void |
Register standard set of region console commands
|
|
Run ( ) : void |
Run the console now that we are all done with startup
|
|
RunCommandScript ( string fileName ) : void |
Run an optional startup list of commands
|
|
RunStartupCommands ( ) : void |
Run the commands given now that startup is complete
|
|
Shutdown ( bool close ) : void |
Should be overridden and referenced by descendents if they need to perform extra shutdown processing Performs any last-minute sanity checking and shuts down the region server
|
|
Startup ( ) : void |
Performs initialization of the application, such as loading the HTTP server and modules
|
|
runConfig ( IScene scene, string cmd ) : void |
Méthode | Description | |
---|---|---|
CreatePIDFile ( string path ) : void |
Write the PID file to the hard drive
|
|
HandleQuit ( IScene scene, string args ) : void | ||
PrintFileToConsole ( string fileName ) : void |
Opens a file and uses it as input to the console command parser.
|
|
RemovePIDFile ( ) : void |
Delete the PID file now that we are done running
|
|
RunAutoTimerScript ( object sender, |
Timer to run a specific text file as console commands. Configured in in the main .ini file
|
public Configuration ( IConfigSource configSource ) : void | ||
configSource | IConfigSource | |
Résultat | void |
protected CreatePIDFile ( string path ) : void | ||
path | string | |
Résultat | void |
public GetHttpServer ( uint port ) : IHttpServer | ||
port | uint | |
Résultat | IHttpServer |
public HandleConfigRefresh ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
public HandleForceGC ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
protected HandleQuit ( IScene scene, string args ) : void | ||
scene | IScene | |
args | string | |
Résultat | void |
public HandleShowInfo ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
public HandleShowVersion ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
public HandleTimerScriptTime ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
public Initialize ( IConfigSource originalConfig, IConfigSource configSource, string cmdParams, WhiteCore.Framework.Configuration.ConfigurationLoader configLoader ) : void | ||
originalConfig | IConfigSource | |
configSource | IConfigSource | |
cmdParams | string | |
configLoader | WhiteCore.Framework.Configuration.ConfigurationLoader | |
Résultat | void |
public MinimalSimulationBase ( string consolePrompt, List |
||
consolePrompt | string | |
dataPlugins | List |
|
servicePlugins | List |
|
Résultat | System |
protected PrintFileToConsole ( string fileName ) : void | ||
fileName | string | name of file to use as input to the console |
Résultat | void |
protected RunAutoTimerScript ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
public RunCommandScript ( string fileName ) : void | ||
fileName | string | |
Résultat | void |
public runConfig ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Résultat | void |
protected DateTime,System m_StartupTime | ||
Résultat | System.DateTime |
protected Timer,System.Timers m_TimerScriptTimer | ||
Résultat |
protected IRegistryCore m_applicationRegistry | ||
Résultat | IRegistryCore |
protected string[] m_commandLineParameters | ||
Résultat | string[] |
protected ConfigurationLoader,WhiteCore.Framework.Configuration m_configurationLoader | ||
Résultat | WhiteCore.Framework.Configuration.ConfigurationLoader |
protected WhiteCoreEventManager,WhiteCore.Framework.Services.ClassHelpers.Other m_eventManager | ||
Résultat | WhiteCore.Framework.Services.ClassHelpers.Other.WhiteCoreEventManager |
protected IConfigSource m_original_config | ||
Résultat | IConfigSource |
protected string m_shutdownCommandsFile | ||
Résultat | string |