C# 클래스 OpenSim.Framework.Servers.BaseOpenSimServer

Common base for the main OpenSimServers (user, grid, inventory, region, etc)
상속: OpenSim.Framework.Servers.ServerBase
파일 보기 프로젝트 열기: N3X15/VoxelSim

보호된 프로퍼티들

프로퍼티 타입 설명
m_console CommandConsole
m_consoleAppender OpenSimAppender
m_httpServer BaseHttpServer
m_logFileAppender IAppender
m_osSecret string
m_pidFile string
m_startupDirectory string
m_startuptime DateTime
m_stats IStatsCollector
m_version string

공개 메소드들

메소드 설명
BaseOpenSimServer ( ) : System
HandleShow ( string module, string cmd ) : void
Shutdown ( ) : void

Should be overriden and referenced by descendents if they need to perform extra shutdown processing

ShutdownSpecific ( ) : void

Should be overriden and referenced by descendents if they need to perform extra shutdown processing

Startup ( ) : void

Performs initialisation of the scene, such as loading configuration from disk.

StatReport ( OSHttpRequest httpRequest ) : string

보호된 메소드들

메소드 설명
CreatePIDFile ( string path ) : void
EnhanceVersionInformation ( ) : void

Enhance the version string with extra information if it's available.

GetHelpTopics ( ) : List

Provides a list of help topics that are available. Overriding classes should append their topics to the information returned when the base method is called.

GetThreadsReport ( ) : string

Get a report about the registered threads in this server.

GetUptimeReport ( ) : string

Return a report about the uptime of this server

LogDiagnostics ( object source, ElapsedEventArgs e ) : void

Print statistics to the logfile, if they are active

Notice ( string msg ) : void

Console output is only possible if a console has been established. That is something that cannot be determined within this class. So all attempts to use the console MUST be verified.

RemovePIDFile ( ) : void
ShowHelp ( string helpArgs ) : void

Show help information

StartupSpecific ( ) : void

Must be overriden by child classes for their own server specific startup behaviour.

비공개 메소드들

메소드 설명
HandleLogLevel ( string module, string cmd ) : void
HandleQuit ( string module, string args ) : void

메소드 상세

BaseOpenSimServer() 공개 메소드

public BaseOpenSimServer ( ) : System
리턴 System

CreatePIDFile() 보호된 메소드

protected CreatePIDFile ( string path ) : void
path string
리턴 void

EnhanceVersionInformation() 보호된 메소드

Enhance the version string with extra information if it's available.
protected EnhanceVersionInformation ( ) : void
리턴 void

GetHelpTopics() 보호된 메소드

Provides a list of help topics that are available. Overriding classes should append their topics to the information returned when the base method is called.
protected GetHelpTopics ( ) : List
리턴 List

GetThreadsReport() 보호된 메소드

Get a report about the registered threads in this server.
protected GetThreadsReport ( ) : string
리턴 string

GetUptimeReport() 보호된 메소드

Return a report about the uptime of this server
protected GetUptimeReport ( ) : string
리턴 string

HandleShow() 공개 메소드

public HandleShow ( string module, string cmd ) : void
module string
cmd string
리턴 void

LogDiagnostics() 보호된 메소드

Print statistics to the logfile, if they are active
protected LogDiagnostics ( object source, ElapsedEventArgs e ) : void
source object
e ElapsedEventArgs
리턴 void

Notice() 보호된 메소드

Console output is only possible if a console has been established. That is something that cannot be determined within this class. So all attempts to use the console MUST be verified.
protected Notice ( string msg ) : void
msg string
리턴 void

RemovePIDFile() 보호된 메소드

protected RemovePIDFile ( ) : void
리턴 void

ShowHelp() 보호된 메소드

Show help information
protected ShowHelp ( string helpArgs ) : void
helpArgs string
리턴 void

Shutdown() 공개 메소드

Should be overriden and referenced by descendents if they need to perform extra shutdown processing
public Shutdown ( ) : void
리턴 void

ShutdownSpecific() 공개 메소드

Should be overriden and referenced by descendents if they need to perform extra shutdown processing
public ShutdownSpecific ( ) : void
리턴 void

Startup() 공개 메소드

Performs initialisation of the scene, such as loading configuration from disk.
public Startup ( ) : void
리턴 void

StartupSpecific() 보호된 메소드

Must be overriden by child classes for their own server specific startup behaviour.
protected StartupSpecific ( ) : void
리턴 void

StatReport() 공개 메소드

public StatReport ( OSHttpRequest httpRequest ) : string
httpRequest OSHttpRequest
리턴 string

프로퍼티 상세

m_console 보호되어 있는 프로퍼티

protected CommandConsole m_console
리턴 CommandConsole

m_consoleAppender 보호되어 있는 프로퍼티

protected OpenSimAppender m_consoleAppender
리턴 OpenSimAppender

m_httpServer 보호되어 있는 프로퍼티

protected BaseHttpServer m_httpServer
리턴 BaseHttpServer

m_logFileAppender 보호되어 있는 프로퍼티

protected IAppender m_logFileAppender
리턴 IAppender

m_osSecret 보호되어 있는 프로퍼티

Random uuid for private data
protected string m_osSecret
리턴 string

m_pidFile 보호되어 있는 프로퍼티

protected string m_pidFile
리턴 string

m_startupDirectory 보호되어 있는 프로퍼티

Record the initial startup directory for info purposes
protected string m_startupDirectory
리턴 string

m_startuptime 보호되어 있는 프로퍼티

Time at which this server was started
protected DateTime m_startuptime
리턴 DateTime

m_stats 보호되어 있는 프로퍼티

Holds the non-viewer statistics collection object for this service/server
protected IStatsCollector m_stats
리턴 IStatsCollector

m_version 보호되어 있는 프로퍼티

Server version information. Usually VersionInfo + information about git commit, operating system, etc.
protected string m_version
리턴 string