C# Class Netty.NettyServer

A class that serves as the base for all ASP hosted websites.
ファイルを表示 Open project: Cayan-LLC/netty Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

AlterApplicationSetting() public method

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.
return NettyServer

AlterConfigurationNodeAttributeValue() public method

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.
return NettyServer

AlterConfigurationNodeValue() public method

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

NettyServer() public method

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.
return System

NettyServer() public method

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.
return System

NettyServer() public method

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.
return System

Start() public method

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