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

상속: IService, IWebInterfaceModule
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev 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
SaveGridSettings ( GridSettings settings ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

보호된 메소드들

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

비공개 메소드들

메소드 설명
CheckAuth ( string p, WhiteCore.Framework.Servers.HttpServer.Implementation.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, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse, object>.Dictionary requestParameters ) : WhiteCore.Framework.Utilities.WhiteCoreXmlDocument
Redirect ( WhiteCore.Framework.Servers.HttpServer.Implementation.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, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse, object>.Dictionary requestParameters, string &response ) : object>.Dictionary
filename string
parentFileName string
httpRequest WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse
requestParameters object>.Dictionary
response string
리턴 object>.Dictionary

ConvertHTML() 보호된 메소드

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

FindAndSendPage() 보호된 메소드

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

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

GetContentType() 보호된 메소드

protected GetContentType ( string filename, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse response ) : string
filename string
response WhiteCore.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

SaveGridSettings() 공개 메소드

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

Start() 공개 메소드

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

프로퍼티 상세

_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,WhiteCore.Modules.Web gridSettings
리턴 GridSettings

m_localHtmlPath 보호되어 있는 프로퍼티

protected string m_localHtmlPath
리턴 string