C# 클래스 Universe.Modules.Web.WebInterface

상속: IService, IWebInterfaceModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
gridSettings GridSettings

보호된 프로퍼티들

프로퍼티 타입 설명
_defaultTranslator ITranslator
_enabled bool
_pages IWebInterfacePage>.Dictionary
_port uint
_translators List
m_localHtmlPath string

공개 메소드들

메소드 설명
FinishedStartup ( ) : void
GetGridSettings ( ) : GridSettings
GetPage ( string path ) : IWebInterfacePage
Initialize ( IConfigSource config, IRegistryCore registry ) : void
ParseQueryString ( string query ) : object>.Dictionary
RegionPresetArgs ( ITranslator translator ) : object>>.List
RegionTerrainArgs ( ITranslator translator ) : object>>.List
RegionTypeArgs ( ITranslator translator ) : object>>.List
SaveGridSettings ( GridSettings settings ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void
UserFlagToType ( int userFlags, ITranslator translator ) : string

User flags to type string.

UserTypeArgs ( ITranslator translator ) : object>>.List

Webpage UL type arguments.

UserTypeToUserFlags ( string userType ) : int

Convert to to user flags.

보호된 메소드들

메소드 설명
AddDefaultVarsForPage ( object>.Dictionary &vars ) : void
AddVarsForPage ( string filename, string parentFileName, OSHttpRequest httpRequest, OSHttpResponse httpResponse, object>.Dictionary requestParameters, string &response ) : object>.Dictionary
ConvertHTML ( string originalFileName, string file, OSHttpRequest request, OSHttpResponse httpResponse, object>.Dictionary requestParameters, object>.Dictionary vars ) : string
FindAndSendPage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
GetContentType ( string filename, OSHttpResponse response ) : string
GetFileNameFromHTMLPath ( string path, Hashtable query ) : string

비공개 메소드들

메소드 설명
CheckAuth ( string p, OSHttpRequest request ) : bool

Returns false if the authentication was wrong

ExtractLines ( string lines, int pos, string keyToCheck, string type, int &posToCheckFrom ) : List
FindLines ( string lines, int pos, string keyToCheck, string type ) : int
GetGridPages ( ) : GridPage
GetWebUISettings ( ) : WebUISettings
GetXML ( string filename, OSHttpRequest httpRequest, OSHttpResponse httpResponse, object>.Dictionary requestParameters ) : UniverseXmlDocument
Redirect ( OSHttpResponse httpResponse, string url ) : void
SaveWebUISettings ( WebUISettings settings ) : void

메소드 상세

AddDefaultVarsForPage() 보호된 메소드

protected AddDefaultVarsForPage ( object>.Dictionary &vars ) : void
vars object>.Dictionary
리턴 void

AddVarsForPage() 보호된 메소드

protected AddVarsForPage ( string filename, string parentFileName, OSHttpRequest httpRequest, OSHttpResponse httpResponse, object>.Dictionary requestParameters, string &response ) : object>.Dictionary
filename string
parentFileName string
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
requestParameters object>.Dictionary
response string
리턴 object>.Dictionary

ConvertHTML() 보호된 메소드

protected ConvertHTML ( string originalFileName, string file, OSHttpRequest request, OSHttpResponse httpResponse, object>.Dictionary requestParameters, object>.Dictionary vars ) : string
originalFileName string
file string
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
requestParameters object>.Dictionary
vars object>.Dictionary
리턴 string

FindAndSendPage() 보호된 메소드

protected FindAndSendPage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 byte[]

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

GetContentType() 보호된 메소드

protected GetContentType ( string filename, OSHttpResponse response ) : string
filename string
response Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 string

GetFileNameFromHTMLPath() 보호된 메소드

protected GetFileNameFromHTMLPath ( string path, Hashtable query ) : string
path string
query System.Collections.Hashtable
리턴 string

GetGridSettings() 공개 메소드

public GetGridSettings ( ) : GridSettings
리턴 GridSettings

GetPage() 공개 메소드

public GetPage ( string path ) : IWebInterfacePage
path string
리턴 IWebInterfacePage

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

ParseQueryString() 공개 정적인 메소드

public static ParseQueryString ( string query ) : object>.Dictionary
query string
리턴 object>.Dictionary

RegionPresetArgs() 공개 메소드

public RegionPresetArgs ( ITranslator translator ) : object>>.List
translator ITranslator
리턴 object>>.List

RegionTerrainArgs() 공개 메소드

public RegionTerrainArgs ( ITranslator translator ) : object>>.List
translator ITranslator
리턴 object>>.List

RegionTypeArgs() 공개 메소드

public RegionTypeArgs ( ITranslator translator ) : object>>.List
translator ITranslator
리턴 object>>.List

SaveGridSettings() 공개 메소드

public SaveGridSettings ( GridSettings settings ) : void
settings GridSettings
리턴 void

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

UserFlagToType() 공개 메소드

User flags to type string.
public UserFlagToType ( int userFlags, ITranslator translator ) : string
userFlags int User flags.
translator ITranslator
리턴 string

UserTypeArgs() 공개 메소드

Webpage UL type arguments.
public UserTypeArgs ( ITranslator translator ) : object>>.List
translator ITranslator Translator.
리턴 object>>.List

UserTypeToUserFlags() 공개 메소드

Convert to to user flags.
public UserTypeToUserFlags ( string userType ) : int
userType string User type Index.
리턴 int

프로퍼티 상세

_defaultTranslator 보호되어 있는 프로퍼티

protected ITranslator _defaultTranslator
리턴 ITranslator

_enabled 보호되어 있는 프로퍼티

protected bool _enabled
리턴 bool

_pages 보호되어 있는 프로퍼티

protected Dictionary _pages
리턴 IWebInterfacePage>.Dictionary

_port 보호되어 있는 프로퍼티

protected uint _port
리턴 uint

_translators 보호되어 있는 프로퍼티

protected List _translators
리턴 List

gridSettings 공개적으로 프로퍼티

public GridSettings,Universe.Modules.Web gridSettings
리턴 GridSettings

m_localHtmlPath 보호되어 있는 프로퍼티

protected string m_localHtmlPath
리턴 string