コード例 #1
0
        public void Start()
        {
            lock (this)
            {
                if (started)
                {
                    return;
                }

                if (!ConfigCache.LocalOnly)
                {
                    logger.DebugFormat("Initializing Remoting Channel...");
                    channel = ConfigCache.GetChannel();
                    ChannelServices.RegisterChannel(channel, false);
                    channel.StartListening(null);
                }

                started = true;
            }
        }