Свойство | Тип | Описание | |
---|---|---|---|
m_BaseHTTPServer | IHttpServer | ||
m_Port | uint | ||
m_Servers | IHttpServer>.Dictionary | ||
m_StartupTime | System.DateTime | ||
m_TimerScriptFileName | string | ||
m_TimerScriptTime | int | ||
m_TimerScriptTimer | |||
m_applicationPlugins | List |
||
m_applicationRegistry | IRegistryCore | ||
m_commandLineParameters | string[] | ||
m_config | IConfigSource | ||
m_configurationLoader | |||
m_defaultDataPath | string | ||
m_eventManager | |||
m_mapcenter_x | int | ||
m_mapcenter_y | int | ||
m_original_config | IConfigSource | ||
m_pidFile | string | ||
m_shutdownCommandsFile | string | ||
m_startupCommandsFile | string | ||
m_version | string |
Метод | Описание | |
---|---|---|
AddPluginCommands ( ) : void | ||
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, |
Do the initial setup for the application
|
|
InitializeModules ( ) : void | ||
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
|
|
RunConfig ( IScene scene, string cmd ) : void | ||
RunStartupCommands ( ) : void |
Run the commands given now that startup is complete
|
|
SetUpHTTPServer ( ) : void |
Set up the base HTTP server
|
|
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
|
|
StartModules ( ) : void |
Start the application modules
|
|
Startup ( ) : void |
Performs initialization of the application, such as loading the HTTP server and modules
|
Метод | Описание | |
---|---|---|
CreatePIDFile ( string path ) : void |
Write the PID file to the hard drive
|
|
HandleQuit ( IScene scene, string args ) : void | ||
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
|
Метод | Описание | |
---|---|---|
PrintFileToConsole ( string fileName ) : void |
Opens a file and uses it as input to the console command parser.
|
public Configuration ( IConfigSource configSource ) : void | ||
configSource | IConfigSource | |
Результат | void |
protected CreatePIDFile ( string path ) : void | ||
path | string | |
Результат | void |
public GetHttpServer ( uint port ) : IHttpServer | ||
port | uint | |
Результат | IHttpServer |
public HandleConfigRefresh ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public HandleForceGC ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
protected HandleQuit ( IScene scene, string args ) : void | ||
scene | IScene | |
args | string | |
Результат | void |
public HandleShowInfo ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public HandleShowVersion ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public HandleTimerScriptTime ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
public Initialize ( IConfigSource originalConfig, IConfigSource configSource, string cmdParams, |
||
originalConfig | IConfigSource | |
configSource | IConfigSource | |
cmdParams | string | |
configLoader | ||
Результат | void |
protected RunAutoTimerScript ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public RunCommandScript ( string fileName ) : void | ||
fileName | string | |
Результат | void |
public RunConfig ( IScene scene, string cmd ) : void | ||
scene | IScene | |
cmd | string | |
Результат | void |
protected Timer,System.Timers m_TimerScriptTimer | ||
Результат |
protected IRegistryCore m_applicationRegistry | ||
Результат | IRegistryCore |
protected string[] m_commandLineParameters | ||
Результат | string[] |
protected ConfigurationLoader,Universe.Framework.Configuration m_configurationLoader | ||
Результат |
protected UniverseEventManager,Universe.Framework.Services.ClassHelpers.Other m_eventManager | ||
Результат |
protected IConfigSource m_original_config | ||
Результат | IConfigSource |