예제 #1
0
        /// <summary>
        /// Override to perform custom transport preparation and launch
        /// </summary>
        protected virtual void ConfigureAndStartNewClientTransport(ClientTransport transport)
        {
            var cfg = ConfigNode.NavigateSection(CONFIG_CLIENT_TRANSPORT_SECTION);

            if (!cfg.Exists)
            {
                cfg = ConfigNode;
            }
            transport.Configure(cfg);
            transport.Start();     //this will fail if runtime is shutting down
        }