コード例 #1
0
        internal Acceptor(Endpoint endpoint, Instance instance, IceInternal.IAcceptor del, string adapterName)
        {
            _endpoint    = endpoint;
            _delegate    = del;
            _instance    = instance;
            _adapterName = adapterName;

            //
            // .NET requires that a certificate be supplied.
            //
            System.Security.Cryptography.X509Certificates.X509Certificate2Collection?certs = instance.Certs();
            if (certs == null || certs.Count == 0)
            {
                throw new Ice.SecurityException("IceSSL: certificate required for server endpoint");
            }
        }
コード例 #2
0
 internal Acceptor(Endpoint endpoint, IceInternal.IAcceptor acceptor)
 {
     _endpoint = endpoint;
     _acceptor = acceptor;
 }