/// <summary>
        /// Starts listening to network requests
        /// </summary>
        public void Start(int backLog, SecurityDescriptor securityDescriptor)
        {
            // check object state
            if (_disposed)
            {
                throw new ObjectDisposedException(GetType().FullName);
            }

            if (_transport == null)
            {
                ITransport transport = CreateTransport();
                transport.BindAuth(_url, securityDescriptor);
                transport.Listen(backLog);
                _transport = transport;
            }
        }
Exemple #2
0
 public void BindAuth(string url, SecurityDescriptor securityDescriptor)
 {
     _transport.BindAuth(url, securityDescriptor);
 }