public PluginI(Ice.Communicator communicator) { IceInternal.ProtocolPluginFacade facade = IceInternal.Util.getProtocolPluginFacade(communicator); _engine = new SSLEngine(facade); // // SSL based on TCP // Instance instance = new Instance(_engine, Ice.SSLEndpointType.value, "ssl"); facade.addEndpointFactory(new EndpointFactoryI(instance, Ice.TCPEndpointType.value)); }
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)); }
internal Plugin(Communicator communicator) { IceInternal.IProtocolPluginFacade facade = IceInternal.Util.GetProtocolPluginFacade(communicator); _engine = new SSLEngine(facade); // // SSL based on TCP // var instance = new Instance(_engine, SSLEndpointType.Value, "ssl"); facade.AddEndpointFactory(new EndpointFactoryI(instance, TCPEndpointType.Value)); }
public PluginI(Ice.Communicator communicator) { IceInternal.ProtocolPluginFacade facade = IceInternal.Util.getProtocolPluginFacade(communicator); _engine = new SSLEngine(facade); // // Register the endpoint factory. We have to do this now, rather than // in initialize, because the communicator may need to interpret // proxies before the plug-in is fully initialized. // EndpointFactoryI factory = new EndpointFactoryI(new Instance(_engine, IceSSL.EndpointType.value, "ssl")); facade.addEndpointFactory(factory); }
public PluginI(Ice.Communicator communicator) { IceInternal.ProtocolPluginFacade facade = IceInternal.Util.getProtocolPluginFacade(communicator); _engine = new SSLEngine(facade); // // SSL based on TCP // IceInternal.EndpointFactory tcp = facade.getEndpointFactory(Ice.TCPEndpointType.value); if(tcp != null) { Instance instance = new Instance(_engine, Ice.SSLEndpointType.value, "ssl"); facade.addEndpointFactory(new EndpointFactoryI(instance, tcp.clone(instance, null))); } }
internal Instance(SSLEngine engine, short type, string protocol) : base(engine.communicator(), type, protocol, true) { _engine = engine; }
internal Instance(SSLEngine engine, Ice.EndpointType type, string transport) : base(engine.Communicator(), type, transport, true) => _engine = engine;