예제 #1
0
        internal Plugin(Communicator communicator)
        {
            IceInternal.ITransportPluginFacade facade = IceInternal.Util.GetTransportPluginFacade(communicator);

            _engine = new SSLEngine(facade);

            //
            // SSL based on TCP
            //
            var instance = new Instance(_engine, EndpointType.SSL, "ssl");

            facade.AddEndpointFactory(new EndpointFactoryI(instance, EndpointType.TCP));
        }
예제 #2
0
 internal Instance(SSLEngine engine, Ice.EndpointType type, string transport)
     : base(engine.Communicator(), type, transport, true) => _engine = engine;