Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.PCHCServer.PCHCServer C# (CSharp) Method

PCHCServer() public method

Initializes a new instance of the PCHCServer class with the specified osted Cache Mode Listen Port and IPAddress type.
public PCHCServer ( TransferProtocol transferProtocol, int hostedCacheModeListenPort, IPAddressType ipaddressType ) : System
transferProtocol TransferProtocol The transport type will be used
hostedCacheModeListenPort int /// The specified BranchCache service's listen port in hosted cache mode. ///
ipaddressType IPAddressType The IP address type.
return System
        public PCHCServer(TransferProtocol transferProtocol, int hostedCacheModeListenPort, IPAddressType ipaddressType)
        {
            this.httpServerTransport = new HttpServerTransport(
                transferProtocol,
                hostedCacheModeListenPort,
                ipaddressType,
                PCHCRESOURCE);

            this.httpServerTransport.HttpRequestEventHandle += new EventHandler<HttpRequestEventArg>(this.ReceiveHttpRequest);
        }

Same methods

PCHCServer::PCHCServer ( ) : System
PCHCServer::PCHCServer ( ILogPrinter logger ) : System
PCHCServer::PCHCServer ( TransferProtocol transferProtocol, int hostedCacheModeListenPort, IPAddressType ipaddressType, ILogPrinter logger ) : System