예제 #1
0
파일: AcceptorI.cs 프로젝트: zhoushiyi/ice
        internal AcceptorI(EndpointI endpoint, Instance instance, IceInternal.Acceptor del, string adapterName)
        {
            _endpoint    = endpoint;
            _delegate    = del;
            _instance    = instance;
            _adapterName = adapterName;

            //
            // .NET requires that a certificate be supplied.
            //
            if (instance.certs().Count == 0)
            {
                Ice.SecurityException ex = new Ice.SecurityException();
                ex.reason = "IceSSL: certificate required for server endpoint";
                throw ex;
            }
        }
예제 #2
0
        internal AcceptorI(EndpointI endpoint, Instance instance, IceInternal.Acceptor del, string adapterName)
        {
            _endpoint = endpoint;
            _delegate = del;
            _instance = instance;
            _adapterName = adapterName;

            //
            // .NET requires that a certificate be supplied.
            //
            if(instance.certs().Count == 0)
            {
                Ice.SecurityException ex = new Ice.SecurityException();
                ex.reason = "IceSSL: certificate required for server endpoint";
                throw ex;
            }
        }
예제 #3
0
파일: Acceptor.cs 프로젝트: chuanqingli/ice
 internal Acceptor(EndpointI endpoint, IceInternal.Acceptor acceptor)
 {
     _endpoint = endpoint;
     _acceptor = acceptor;
 }
예제 #4
0
파일: Acceptor.cs 프로젝트: bholl/zeroc-ice
 internal Acceptor(IceInternal.Acceptor acceptor)
 {
     _acceptor = acceptor;
 }
예제 #5
0
파일: Acceptor.cs 프로젝트: stick/zeroc-ice
 internal Acceptor(IceInternal.Acceptor acceptor)
 {
     _acceptor = acceptor;
 }
예제 #6
0
파일: Acceptor.cs 프로젝트: Crysty-Yui/ice
 internal Acceptor(EndpointI endpoint, IceInternal.Acceptor acceptor)
 {
     _endpoint = endpoint;
     _acceptor = acceptor;
 }