C# 클래스 Netty.NettyServer

A class that serves as the base for all ASP hosted websites.
파일 보기 프로젝트 열기: Cayan-LLC/netty 1 사용 예제들

공개 메소드들

메소드 설명
AlterApplicationSetting ( string key, string value ) : NettyServer

Alters the application setting for the web site.

AlterConfigurationNodeAttributeValue ( string xpath, string attribute, string value ) : NettyServer

Alters the configuration for the website.

AlterConfigurationNodeValue ( string xpath, string value ) : NettyServer

Alters the configuration for the website.

NettyServer ( string physicalPath, string virtualPath ) : System

Initializes a new instance of the T:Netty.NettyServer class.

NettyServer ( string physicalPath, string virtualPath, int port ) : System

Initializes a new instance of the T:Netty.NettyServer class.

NettyServer ( string physicalPath, string virtualPath, int port, bool enforcePortCheck ) : System

Initializes a new instance of the T:Netty.NettyServer class.

Start ( ) : void

Starts the instance of the ASP.Net server.

비공개 메소드들

메소드 설명
CreateListenerAndStart ( ) : void

Creates a new T:Netty.AspServerListener in its own application domain, and begins listening for HTTP traffic.

CreateListnerWithinAppDomain ( Type initializerType ) : IRegisteredObject>.Tuple

Creates the worker application domain with host.

Stop ( ) : void

메소드 상세

AlterApplicationSetting() 공개 메소드

Alters the application setting for the web site.
public AlterApplicationSetting ( string key, string value ) : NettyServer
key string The key for the application setting.
value string The value of the application setting.
리턴 NettyServer

AlterConfigurationNodeAttributeValue() 공개 메소드

Alters the configuration for the website.
public AlterConfigurationNodeAttributeValue ( string xpath, string attribute, string value ) : NettyServer
xpath string The XPath expression.
attribute string The attribute.
value string The new value.
리턴 NettyServer

AlterConfigurationNodeValue() 공개 메소드

Alters the configuration for the website.
public AlterConfigurationNodeValue ( string xpath, string value ) : NettyServer
xpath string The XPath expression.
value string The new value.
리턴 NettyServer

NettyServer() 공개 메소드

Initializes a new instance of the T:Netty.NettyServer class.
public NettyServer ( string physicalPath, string virtualPath ) : System
physicalPath string The physical path to the website.
virtualPath string The virtual path the website runs on.
리턴 System

NettyServer() 공개 메소드

Initializes a new instance of the T:Netty.NettyServer class.
is null. is already in use. exceeds the allows TCP port range. does not exist.
public NettyServer ( string physicalPath, string virtualPath, int port ) : System
physicalPath string The physical path to the website.
virtualPath string The virtual path the website runs on.
port int The port the website runs on.
리턴 System

NettyServer() 공개 메소드

Initializes a new instance of the T:Netty.NettyServer class.
is null. is already in use. exceeds the allows TCP port range. does not exist.
public NettyServer ( string physicalPath, string virtualPath, int port, bool enforcePortCheck ) : System
physicalPath string The physical path to the website.
virtualPath string The virtual path the website runs on.
port int The port the website runs on.
enforcePortCheck bool true to ensure the port is unused; otherwise, false.
리턴 System

Start() 공개 메소드

Starts the instance of the ASP.Net server.
public Start ( ) : void
리턴 void