IServerChannelConfiguration

Overview

The IServerChannelConfiguration interface is used by the Remoting SDK Server Configuration System to represent requested server channel configuration. There is no need to implement this interface in the user code unless the server configuration should be loaded from other source (f.e. database) or in different format than are used by default.

Location

Implemented in

Properties


ChannelType

Gets the type of the server channel.

 

property ChannelType: ServerChannelType read;

 

ServerChannelType ChannelType { get; }

 

Property ReadOnly ChannelType As ServerChannelType

EnableZeroConfSupport

Gets the flag indicating whether the server application should register its services in the ZeroConf environment.

 

property EnableZeroConfSupport: Boolean read;

 

Boolean EnableZeroConfSupport { get; }

 

Property ReadOnly EnableZeroConfSupport As Boolean

NamedPipePath

Gets the unique name of the server to use. The name must match the NamedPipeClientChannel property specified on the Named Pipe client channel in the client application.

Applicable only to the ServerChannelType server channel type.

 

property NamedPipePath: String read;

 

String NamedPipePath { get; }

 

Property ReadOnly NamedPipePath As String

NamedPipeServer

Gets or sets the name of the host running the server. This can be a host name or IP address on the local network, or ".", which indicates the local machine.

Applicable only to the ServerChannelType server channel type.

 

property NamedPipeServer: String read;

 

String NamedPipeServer { get; }

 

Property ReadOnly NamedPipeServer As String

Port

Gets the server channel port. Specifies port the server application will accept connections to.

Not applicable to the ServerChannelType server channel type.

 

property Port: Int32 read;

 

Int32 Port { get; }

 

Property ReadOnly Port As Int32

SendClientAccessPolicyXml

Gets the flag indicating whether the server application should expose the ClientAccessPolicy.xml resource allowing access to the server servcies.

Applicable only to the ServerChannelType, ServerChannelType.#SuperHttp, ServerChannelType and ServerChannelType server channel types.

 

property SendClientAccessPolicyXml: Boolean read;

 

Boolean SendClientAccessPolicyXml { get; }

 

Property ReadOnly SendClientAccessPolicyXml As Boolean

SendCORSHeader

Gets the flag indicating whether the server application should accept CORS requests.

Applicable only to the ServerChannelType, ServerChannelType.#SuperHttp, ServerChannelType and ServerChannelType server channel types.

 

property SendCORSHeader: Boolean read;

 

Boolean SendCORSHeader { get; }

 

Property ReadOnly SendCORSHeader As Boolean

See Also