コード例 #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
ファイル: AcceptorI.cs プロジェクト: zhangwei5095/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;
            }
        }
コード例 #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;
 }